mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
Ensure all four required version defines are set for windows builds
svn path=/trunk/netsurf/; revision=12082
This commit is contained in:
parent
7f41b913c9
commit
b96104fe8f
@ -28,8 +28,11 @@
|
||||
-lgdi32 -lcomctl32 -lws2_32 -lmsimg32 -mwindows
|
||||
|
||||
CFLAGS += -U__STRICT_ANSI__ -mwin32
|
||||
# only windows versions after 2000 are supported
|
||||
CFLAGS += '-DWINVER=0x0500'
|
||||
# only windows versions after XP are supported
|
||||
CFLAGS += '-DWINVER=0x0501'
|
||||
CFLAGS += '-D_WIN32_WINNT=0x0501'
|
||||
CFLAGS += '-D_WIN32_WINDOWS=0x0501'
|
||||
CFLAGS += '-D_WIN32_IE=0x0501'
|
||||
WSCFLAGS := -std=c99 \
|
||||
$(WARNFLAGS) -I. -I${MINGW_INSTALL_ENV}/include/ \
|
||||
-DCURL_STATICLIB -DLIBXML_STATIC -g
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
#define _WIN32_IE 0x0500
|
||||
#include <windows.h>
|
||||
#include <shlobj.h>
|
||||
#include <sys/time.h>
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#define _WIN32_IE (0x0501)
|
||||
#include <commctrl.h>
|
||||
|
||||
#include "content/urldb.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#define _WIN32_IE (0x0501)
|
||||
#include <commctrl.h>
|
||||
|
||||
#include "desktop/browser.h"
|
||||
|
@ -17,8 +17,8 @@
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#define _WIN32_IE (0x0501)
|
||||
#include <commctrl.h>
|
||||
|
||||
#include "desktop/options.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
|
Loading…
Reference in New Issue
Block a user