Define WINVER to 0x501 to get XP functionality
authorKevin Wasserman <krwasserman@hotmail.com>
Mon, 4 May 2015 17:11:35 +0000 (13:11 -0400)
committerKevin Wasserman <krwasserman@hotmail.com>
Tue, 5 May 2015 20:36:24 +0000 (16:36 -0400)
Makefile.am

index 61fa5e2..7b64444 100644 (file)
@@ -78,10 +78,12 @@ src_moonshot_webp_LDFLAGS =
 if OS_WIN32
 
 
+moonshot_LIBS += -lkernel32
+
 src_moonshot_CFLAGS = -mwindows
 src_moonshot_webp_CFLAGS = -mconsole
     
-AM_CPPFLAGS += -DOS_WIN32
+AM_CPPFLAGS += -DWINVER=0x0501 -DOS_WIN32
 AM_VALAFLAGS += --define=OS_WIN32
 
 # this is a gross hack to install the libmoonshot import lib in ${libdir}