diff options
Diffstat (limited to 'include/cleanpath/cleanpath.h')
-rw-r--r-- | include/cleanpath/cleanpath.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/cleanpath/cleanpath.h b/include/cleanpath/cleanpath.h index afee624..dfb0b5f 100644 --- a/include/cleanpath/cleanpath.h +++ b/include/cleanpath/cleanpath.h @@ -38,13 +38,21 @@ #define CLEANPATH_PART_MAX 1024 #define CLEANPATH_VAR "PATH" #define CLEANPATH_SEP ":" -#define CLEANPATH_MSG_NOAVAIL "" +#define CLEANPATH_MSG_NOT_IMPLEMENTED "[not implemented]" +#define CLEANPATH_MSG_NOT_SUPPORTED "[not supported]" +#define CLEANPATH_MSG_NO_REGEX "" +#define CLEANPATH_MSG_NO_DEFAULT_PATH "" #if OS_WINDOWS #undef CLEANPATH_SEP #define CLEANPATH_SEP ";" -#undef CLEANPATH_MSG_NOAVAIL -#define CLEANPATH_MSG_NOAVAIL " [not implemented] " +#undef CLEANPATH_MSG_NO_REGEX +#define CLEANPATH_MSG_NO_REGEX CLEANPATH_MSG_NOT_IMPLEMENTED +#endif + +#if !OS_SUPPORTED +#undef CLEANPATH_MSG_NO_DEFAULT_PATH +#define CLEANPATH_MSG_NO_DEFAULT_PATH CLEANPATH_MSG_NOT_SUPPORTED #endif struct CleanPath { |