Skip to content
Snippets Groups Projects
Commit adfc80ca authored by deuce's avatar deuce
Browse files

Undefine __STRICT_ANSI__ which gcc defines when using -std=c99 and the mingw

headers are rife with.  Re-enables cross-building with mingw32 (at least for
SyncTERM).
parent ca452f4a
No related branches found
No related tags found
No related merge requests found
......@@ -347,7 +347,7 @@ else
#CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
else
ifeq ($(os),win32) # Windows
CFLAGS += -D_WIN32 -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -D_WIN32_IE=0x0500
CFLAGS += -U__STRICT_ANSI__ -D_WIN32 -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -D_WIN32_IE=0x0500
MT_CFLAGS += -D_WIN32
else # Linux / Other UNIX
XP_SEM := 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment