diff --git a/src/framework/Makefile.mingw b/src/framework/Makefile.mingw index e8eac8563cb110a71d5905698af3afb65dd713df..f1d6516ade0d53e2a4d76ec2345a6906a52803d7 100644 --- a/src/framework/Makefile.mingw +++ b/src/framework/Makefile.mingw @@ -30,6 +30,7 @@ CPPFLAGS += $(shell $(FRAMEWORK_INSTALL)/bin/sdl-config --cflags) CPPFLAGS += $(shell $(FRAMEWORK_INSTALL)/bin/freetype-config --cflags) CPPFLAGS += $(shell $(FRAMEWORK_INSTALL)/bin/xml2-config --cflags) CPPFLAGS += -I$(FRAMEWORK_INSTALL)/include/boinc -I$(FRAMEWORK_INSTALL)/include +CPPFLAGS += -D_WIN32_WINDOWS=0x0410 DEPS = Makefile OBJS = AbstractGraphicsEngine.o GraphicsEngineFactory.o WindowManager.o Resource.o ResourceFactory.o BOINCClientAdapter.o Libxml2Adapter.o diff --git a/src/starsphere/Makefile.mingw b/src/starsphere/Makefile.mingw index edba0fbcbe88fb8a65564192a028cb22fa87afcf..0c5130810183129a5373d5515cd7a3da1487860a 100644 --- a/src/starsphere/Makefile.mingw +++ b/src/starsphere/Makefile.mingw @@ -43,6 +43,7 @@ CPPFLAGS += $(shell $(STARSPHERE_INSTALL)/bin/sdl-config --cflags) CPPFLAGS += $(shell $(STARSPHERE_INSTALL)/bin/freetype-config --cflags) CPPFLAGS += $(shell $(STARSPHERE_INSTALL)/bin/xml2-config --cflags) CPPFLAGS += -I$(STARSPHERE_INSTALL)/include/boinc +CPPFLAGS += -D_WIN32_WINDOWS=0x0410 DEPS = Makefile OBJS = Starsphere.o StarsphereS5R3.o StarsphereRadio.o EinsteinS5R3Adapter.o EinsteinRadioAdapter.o starlist.o snr_list.o pulsar_list.o $(RESOURCESPEC).o $(RESOURCESPEC)_mingw.o