summaryrefslogtreecommitdiff
path: root/frontends/windows/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-10-19 23:07:43 +0100
committerVincent Sanders <vince@kyllikki.org>2016-10-19 23:07:43 +0100
commit43e91251ad7844961f75c8af0ce7605c6e33f09b (patch)
treef5a3d7a9bb0afca03fbd44608d199b4614d7bf42 /frontends/windows/Makefile
parent601d9da66d173152fcc095d271b08b43a02ca905 (diff)
downloadnetsurf-43e91251ad7844961f75c8af0ce7605c6e33f09b.tar.gz
netsurf-43e91251ad7844961f75c8af0ce7605c6e33f09b.tar.bz2
windows frontend netsurf options
Diffstat (limited to 'frontends/windows/Makefile')
-rw-r--r--frontends/windows/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/windows/Makefile b/frontends/windows/Makefile
index cfb1712ca..baaf225f1 100644
--- a/frontends/windows/Makefile
+++ b/frontends/windows/Makefile
@@ -15,6 +15,7 @@ LDFLAGS += -lgnurx -lgdi32 -lcomctl32 -lws2_32 -lmsimg32 -lshlwapi -mwindows
CFLAGS += -U__STRICT_ANSI__ -mwin32
# only windows versions after XP are supported
+# https://msdn.microsoft.com/en-gb/library/windows/desktop/aa383745
CFLAGS += '-DWINVER=0x0501'
CFLAGS += '-D_WIN32_WINNT=0x0501'
CFLAGS += '-D_WIN32_WINDOWS=0x0501'
@@ -23,7 +24,7 @@ CFLAGS += '-D_WIN32_IE=0x0501'
#installed resource path
CFLAGS += '-DNETSURF_WINDOWS_RESPATH="$(NETSURF_WINDOWS_RESPATH)"'
-WSCFLAGS := -std=c99 -DCURL_STATICLIB -DCARES_STATICLIB -g
+WSCFLAGS := -std=c99 -Dnswin32 -DCURL_STATICLIB -DCARES_STATICLIB -g
CFLAGS += $(WSCFLAGS)
LDFLAGS += $(WSCFLAGS)