mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
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:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user