From 9a5870dcbfd00fa58c011b79366740afc62784ae Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 8 Sep 2000 01:29:38 +0000 Subject: Edit CFLAGS. --- ChangeLog | 3 +++ GNUmakefile | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd623f8..2197a8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-08 Ross Johnson + * 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 \ -- cgit v1.2.3