summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>1999-08-12 02:41:13 +0000
committerrpj <rpj>1999-08-12 02:41:13 +0000
commitba2535020d1dcfd750d67a35db79837438dfad9f (patch)
treeb22b76dad8d422ec1b5028ff6ddd8a922ce6f5e7
parent9af51e470791639995bb34bd3198014dc11e2fef (diff)
ChangeLog:
1999-08-12 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * private.c (_pthread_threadStart): ei[] only declared if _MSC_VER. tests/ChangeLog: Wed Aug 12 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * Makefile (LIBS): Add -L.
-rw-r--r--ChangeLog2
-rw-r--r--private.c5
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/Makefile2
4 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bdaf3b6..76c866c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/private.c b/private.c
index 1b6ba64..3c533f1 100644
--- a/private.c
+++ b/private.c
@@ -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