From 7fdb900bc169f0105bf5fb2cd282f6448f3f11f7 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 4 Nov 1999 17:18:43 +0000 Subject: 1999-11-05 Ross Johnson * 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 --- tsd.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tsd.c') 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 *)) -- cgit v1.2.3