summaryrefslogtreecommitdiff
path: root/tsd.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-11-04 17:18:43 +0000
committerrpj <rpj>1999-11-04 17:18:43 +0000
commit7fdb900bc169f0105bf5fb2cd282f6448f3f11f7 (patch)
tree3f3c80cb9efa420e259c407a28b77713985ca23b /tsd.c
parentefa438832bc1343c08c334e88aec4266040ddec3 (diff)
1999-11-05 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* general: Patched for portability to WinCE. The details are described in the file WinCE-PORT. Follow the instructions in README.WinCE to make the appropriate changes in config.h. - Tristan Savatier <tristan@mpegtv.com>
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 *))