summaryrefslogtreecommitdiffstats
path: root/progs/demos/reflect.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/reflect.c')
-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 1a4504175fd..ce0239211ff 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() */