summaryrefslogtreecommitdiff
path: root/src/zprep.h
diff options
context:
space:
mode:
authoriryuken <eshwarsajja20@gmail.com>2026-01-26 00:59:44 +0530
committerGitHub <noreply@github.com>2026-01-26 00:59:44 +0530
commit5066e09fcac1a679d30afb89af1385352e9b5c60 (patch)
treea4d564cbd7707a1c565135d630157b74b742f0a3 /src/zprep.h
parenta2804ffe502ec31fc3bf561b7e59c25622b15e19 (diff)
parent555141e35166c7f7d98c16f6f95fde8e57a651c2 (diff)
Merge branch 'z-libs:main' into main
Diffstat (limited to 'src/zprep.h')
-rw-r--r--src/zprep.h14
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"