diff options
Diffstat (limited to 'src/zprep.h')
| -rw-r--r-- | src/zprep.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/zprep.h b/src/zprep.h index ea38927..e7004ee 100644 --- a/src/zprep.h +++ b/src/zprep.h @@ -7,9 +7,23 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> + +#ifdef __COSMOPOLITAN__ +#include "libc/dce.h" +#define z_is_windows() IsWindows() +#else +#ifdef _WIN32 +#define z_is_windows() 1 +#else +#define z_is_windows() 0 +#endif +#endif // **ZEN VERSION** +#ifndef ZEN_VERSION #define ZEN_VERSION "0.1.0" +#endif // ** ANSI COLORS ** #define COLOR_RESET "\033[0m" |
