diff options
author | rpj <rpj> | 2000-09-08 01:29:38 +0000 |
---|---|---|
committer | rpj <rpj> | 2000-09-08 01:29:38 +0000 |
commit | 9a5870dcbfd00fa58c011b79366740afc62784ae (patch) | |
tree | 8d87678ebd79bcc514bf0da1ec24d9d500d4d6f3 | |
parent | 199d96f3e3f6077235be8e0bf9482d2a46e108c2 (diff) |
Edit CFLAGS.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | GNUmakefile | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,8 @@ 2000-09-08 Ross Johnson <rpj@special.ise.canberra.edu.au> + * GNUmakefile(_WIN32_WINNT=0x400): Define in CFLAGS; + doesn't seem to be needed though. + * cancel.c (pthread_cancel): Must get "self" through calling pthread_self() which will ensure a POSIX thread struct is built for non-POSIX threads; return an error 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 \ |