summaryrefslogtreecommitdiff
path: root/include/glamacdef.h
diff options
context:
space:
mode:
authoradmin <admin@optics-design.com>2025-08-04 12:37:12 +0200
committeradmin <admin@optics-design.com>2025-08-04 12:37:12 +0200
commit8e1ae9c581ea51bfef6e531865f75453180f31b6 (patch)
treed90b301180f55f88aa022ce5421dbd3a0b61bcd1 /include/glamacdef.h
parent4910356db2585e55d2876001e40b21e9b148bcc4 (diff)
changes to glamac rendering
Diffstat (limited to 'include/glamacdef.h')
-rw-r--r--include/glamacdef.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/glamacdef.h b/include/glamacdef.h
index 563df70..aeba926 100644
--- a/include/glamacdef.h
+++ b/include/glamacdef.h
@@ -26,7 +26,12 @@ typedef uint64_t u64;
typedef float f32;
typedef double f64;
typedef uintptr_t uptr;
+#ifndef _WIN32
typedef char byte;
+#else
+// On Windows, use unsigned char to match Windows headers
+typedef unsigned char byte;
+#endif
typedef ptrdiff_t size;
typedef size_t usize;
/* Utility macros */
Back to https://optics-design.com