summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlarryh%netscape.com <devnull@localhost>1999-04-08 23:01:55 +0000
committerlarryh%netscape.com <devnull@localhost>1999-04-08 23:01:55 +0000
commit064fd13722319a5fb51d57007c857c534784cd42 (patch)
treede27b400e0dffeaa55e5b04f4529e7b6873ef9ee
parent2ed35905d29c315031ef1f833d32c4bcbd97a97f (diff)
downloadnspr-hg-064fd13722319a5fb51d57007c857c534784cd42.tar.gz
Fix Win95 thread creation rotation
-rw-r--r--pr/tests/socket.c2
-rw-r--r--pr/tests/testfile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pr/tests/socket.c b/pr/tests/socket.c
index ec18f7f7..66befdf7 100644
--- a/pr/tests/socket.c
+++ b/pr/tests/socket.c
@@ -262,7 +262,7 @@ PRThread* create_new_thread(PRThreadType type,
PRInt32 native_thread = 0;
PR_ASSERT(state == PR_UNJOINABLE_THREAD);
-#if (defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS)) || defined(WINNT)
+#if (defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS)) || defined(WINNT) || defined(WIN95)
switch(index % 4) {
case 0:
scope = (PR_LOCAL_THREAD);
diff --git a/pr/tests/testfile.c b/pr/tests/testfile.c
index 886973c0..b4f8a94a 100644
--- a/pr/tests/testfile.c
+++ b/pr/tests/testfile.c
@@ -111,7 +111,7 @@ PRThread* create_new_thread(PRThreadType type,
PRInt32 native_thread = 0;
PR_ASSERT(state == PR_UNJOINABLE_THREAD);
-#if (defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS)) || defined(WINNT)
+#if (defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS)) || defined(WINNT) || defined(WIN95)
switch(index % 4) {
case 0:
scope = (PR_LOCAL_THREAD);