os: osdep.h: workaround for win32 define CreateWindow

We need to undef this win32 symbol, otherwise it's conflicting with our
`CreateWindow` fields.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-09-03 13:58:46 +02:00
parent 0e43e8c2aa
commit 7193bd9fab

View File

@@ -127,6 +127,8 @@ _X_EXPORT Bool TimerForce(OsTimerPtr);
#ifdef WIN32
#include <X11/Xwinsock.h>
#undef CreateWindow
const char *Win32TempDir(void);
static inline void Fclose(void *f) { fclose(f); }