Branch: Tag:

1999-08-10

1999-08-10 00:19:00 by Martin Stjernholm <mast@lysator.liu.se>

New define PIKE_THREADS for use instead of _REENTRANT in threads.h so it
doesn't get confused in modules defining that one.

Rev: src/acconfig.h:1.46
Rev: src/configure.in:1.305
Rev: src/threads.h:1.68

1:   /* -  * $Id: threads.h,v 1.67 1999/05/12 04:45:59 hubbe Exp $ +  * $Id: threads.h,v 1.68 1999/08/10 00:19:00 mast Exp $    */   #ifndef THREADS_H   #define THREADS_H
12:   /* Needed for pthread_t on OSF/1 */   #include <sys/types.h>   #endif /* HAVE_SYS_TYPES_H */ - #ifdef _REENTRANT + #ifdef PIKE_THREADS      /*    * Decide which type of threads to use
603:   #define init_threads_disable(X)   #define exit_threads_disable(X)    - #endif /* _REENTRANT */ + #endif /* PIKE_THREADS */      #ifdef __NT__   #ifndef PIKE_DEBUG