diff options
author | admin <admin@optics-design.com> | 2025-08-04 12:37:12 +0200 |
---|---|---|
committer | admin <admin@optics-design.com> | 2025-08-04 12:37:12 +0200 |
commit | 8e1ae9c581ea51bfef6e531865f75453180f31b6 (patch) | |
tree | d90b301180f55f88aa022ce5421dbd3a0b61bcd1 /include/glamacdef.h | |
parent | 4910356db2585e55d2876001e40b21e9b148bcc4 (diff) |
changes to glamac rendering
Diffstat (limited to 'include/glamacdef.h')
-rw-r--r-- | include/glamacdef.h | 5 |
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 */
|