summaryrefslogtreecommitdiff
path: root/progs/demos
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2006-03-29 03:42:32 +0000
committerKarl Schultz <kschultz@freedesktop.org>2006-03-29 03:42:32 +0000
commitb687531f693548afc6d7cf7b5c6fb76926cc0dc9 (patch)
treef3902814a0978c401351e7bb38384c4a77852400 /progs/demos
parent54b65e080e16cd8411e5c35791a1157749a686f5 (diff)
Undef a conflicting symbol in Windows.
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/reflect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/demos/reflect.c b/progs/demos/reflect.c
index 1a4504175f..ce0239211f 100644
--- a/progs/demos/reflect.c
+++ b/progs/demos/reflect.c
@@ -42,6 +42,9 @@
#define INIT_WIDTH 400
#define INIT_HEIGHT 300
+#ifdef _WIN32
+#undef CreateWindowA
+#endif
struct window {
int id; /* returned by glutCreateWindow() */