summaryrefslogtreecommitdiff
path: root/tsd.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-11-04 14:56:51 +0000
committerrpj <rpj>1999-11-04 14:56:51 +0000
commitc614567b4940f31a7ce98ceb9eb48b1241b4727a (patch)
treeaaa362d4c46c13f7fb7546b1ee14264e32b22ec1 /tsd.c
parentefa438832bc1343c08c334e88aec4266040ddec3 (diff)
Add WinCE patches to snap-1999-05-30-wince-patches branch.
Diffstat (limited to 'tsd.c')
-rw-r--r--tsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tsd.c b/tsd.c
index 0766744..f8656ce 100644
--- a/tsd.c
+++ b/tsd.c
@@ -25,6 +25,11 @@
#include "pthread.h"
#include "implement.h"
+
+/* TLS_OUT_OF_INDEXES not defined on WinCE */
+#ifndef TLS_OUT_OF_INDEXES
+#define TLS_OUT_OF_INDEXES 0xffffffff
+#endif
int
pthread_key_create (pthread_key_t * key, void (*destructor) (void *))