Changed windows compiler flags.
authorDaniel Giritzer <daniel.giritzer@siemens.com>
Wed, 19 Dec 2018 12:33:24 +0000 (13:33 +0100)
committerDaniel Giritzer <daniel.giritzer@siemens.com>
Wed, 19 Dec 2018 12:33:24 +0000 (13:33 +0100)
src/Makefile

index a958619..053d797 100644 (file)
@@ -44,7 +44,7 @@ WINDRES_WIN = i686-w64-mingw32-windres
 
 INC_WIN = $(INC)
 LIBDIR_WIN = -L$(WORKDIR)/../lib/mingw32 -L$(WORKDIR)/../../lib/mingw32
-CFLAGS_WIN = $(CFLAGS) -mconsole -DWIN32 -DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS_WIN = $(CFLAGS) -mconsole -DWIN32 -D_WIN32 -_WIN32_WINNT -DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 RESINC_WIN =
 LDFLAGS_WIN =  $(LDFLAGS)
 LIB_WIN = $(LIB) -mconsole -lole32 -luuid -lcomctl32 -lwsock32 -lws2_32