summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorrpj <rpj>2000-09-08 01:29:38 +0000
committerrpj <rpj>2000-09-08 01:29:38 +0000
commit9a5870dcbfd00fa58c011b79366740afc62784ae (patch)
tree8d87678ebd79bcc514bf0da1ec24d9d500d4d6f3 /GNUmakefile
parent199d96f3e3f6077235be8e0bf9482d2a46e108c2 (diff)
Edit CFLAGS.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 85dd95b..5710343 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -30,13 +30,13 @@ AR = ar
LD = gcc -mdll
-OPT = -g -O0 -x $(GLANG)
+OPT = -g -O0
## Mingw32
-CFLAGS = $(OPT) -I. -mthreads -DHAVE_CONFIG_H -DPTW32_BUILD -Wall
+CFLAGS = $(OPT) -x $(GLANG) -I. -mthreads -D_WIN32_WINNT=0x400 -DHAVE_CONFIG_H -DPTW32_BUILD -Wall
## Cygwin G++
-#CFLAGS = $(OPT) -fhandle-exceptions -I. -DHAVE_CONFIG_H -DPTW32_BUILD -Wall
+#CFLAGS = $(OPT) -x $(GLANG) -fhandle-exceptions -D_WIN32_WINNT=0x400 -I. -DHAVE_CONFIG_H -DPTW32_BUILD -Wall
OBJS = attr.o cancel.o cleanup.o condvar.o create.o dll.o errno.o \
exit.o fork.o global.o misc.o mutex.o nonportable.o \