]> git.tdb.fi Git - libs/gl.git/blobdiff - scripts/extgen.py
Use the correct define to detect Windows
[libs/gl.git] / scripts / extgen.py
index b3ed9c8f6d6fa033fc9916cebbf778d98a7f61b6..8d7bfcb1ec1e91c663b33b8aaeec2115b340e05f 100755 (executable)
@@ -500,7 +500,7 @@ if funcs:
 #define GET_PROC_ADDRESS(x) get_proc_address(#x)
 #endif
 
-#ifdef WIN32
+#ifdef _WIN32
 #define GET_PROC_ADDRESS_1_1(x) &::x
 #else
 #define GET_PROC_ADDRESS_1_1(x) GET_PROC_ADDRESS(x)