Undef a conflicting symbol in Windows.
authorKarl Schultz <kschultz@freedesktop.org>
Wed, 29 Mar 2006 03:42:32 +0000 (03:42 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Wed, 29 Mar 2006 03:42:32 +0000 (03:42 +0000)
progs/demos/reflect.c

index 1a4504175fd5686b3d8d7482165f9c43d144a124..ce0239211fff68dffdf536a57d4770f440d19a91 100644 (file)
@@ -42,6 +42,9 @@
 #define INIT_WIDTH 400
 #define INIT_HEIGHT 300
 
+#ifdef _WIN32
+#undef CreateWindowA
+#endif
 
 struct window {
    int id;               /* returned by glutCreateWindow() */