diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | private.c | 5 | ||||
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rw-r--r-- | tests/Makefile | 2 |
4 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,7 @@ 1999-08-12 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + * private.c (_pthread_threadStart): ei[] only declared if _MSC_VER. + * exit.c (pthread_exit): Check for implicitly created threads to avoid raising an unhandled exception. @@ -165,8 +165,13 @@ _pthread_threadStart (ThreadParms * threadParms) pthread_t self; void *(*start) (void *); void *arg; + +#ifdef _MSC_VER + DWORD ei[3]; +#endif + void * status; self = threadParms->tid; diff --git a/tests/ChangeLog b/tests/ChangeLog index 4140f0c..ac229c7 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +Wed Aug 12 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + + * Makefile (LIBS): Add -L. + Mon May 31 10:25:01 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * Makefile (GLANG): Add GCC language option. diff --git a/tests/Makefile b/tests/Makefile index 7a348ab..7c60452 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -16,7 +16,7 @@ CC = gcc CFLAGS = -g -O2 -UNDEBUG -Wall -x $(GLANG) -o $@ $^ BUILD_DIR = .. INCLUDES = -I. -LIBS = ./libpthread32.a +LIBS = -L. -lpthread32 ## ## MSVC |