From 2a4b8c094890f7ce4dda97c5dd2a6e28f1bcf74f Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Tue, 7 Jul 2009 14:42:38 +0200
Subject: [PATCH] Ensure Win98 compliance

---
 src/framework/Makefile.mingw  | 1 +
 src/starsphere/Makefile.mingw | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/framework/Makefile.mingw b/src/framework/Makefile.mingw
index e8eac85..f1d6516 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 edba0fb..0c51308 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
-- 
GitLab