summaryrefslogtreecommitdiffstats
path: root/progs/samples/Makefile.mgw
diff options
context:
space:
mode:
Diffstat (limited to 'progs/samples/Makefile.mgw')
-rw-r--r--progs/samples/Makefile.mgw2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/samples/Makefile.mgw b/progs/samples/Makefile.mgw
index 04c4b792534..bf2ac05b8b4 100644
--- a/progs/samples/Makefile.mgw
+++ b/progs/samples/Makefile.mgw
@@ -50,7 +50,7 @@ CC = mingw32-gcc
CFLAGS = -Wall -W -pedantic
CFLAGS += -O2 -ffast-math -mcpu=$(CPU)
CFLAGS += -I$(TOP)/include -I../util
-CFLAGS += -DGLUT_DISABLE_ATEXIT_HACK
+CFLAGS += -DGLUT_DISABLE_ATEXIT_HACK -D_STDCALL_SUPPORTED
CFLAGS += -D_WINDEF_ -D_WINGDI_
LD = mingw32-g++