From 8e1ae9c581ea51bfef6e531865f75453180f31b6 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 4 Aug 2025 12:37:12 +0200 Subject: changes to glamac rendering --- include/glamacdef.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/glamacdef.h') 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 */ -- cgit v1.2.3