diff options
| -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 \ | 
