pike.git / src / machine.h.in

version» Context lines:

pike.git/src/machine.h.in:333:      /* Define this to the max value of an unsigned short unles <limits.h> does.. */   #undef USHRT_MAX      /* define this if you have thread.h */   #undef HAVE_THREAD_H      /* define this if you have pthread.h */   #undef HAVE_PTHREAD_H    - /* Define this if you are going to use threads */ + /* Define these if you are going to use threads */   #undef _REENTRANT   #undef _THREAD_SAFE -  +  + /* Define this if you want the UNIX taste of threads */ + #undef _UNIX_THREADS +  + /* Define this if you want the POSIX taste of threads */   #undef _MIT_POSIX_THREADS      /* Define this if you have pthread_attr_setstacksize() */   #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE    -  + /* Define this if you have SGI's old style sproc() share group processes */ + #undef HAVE_SPROC    -  + /* Define this if you have oserror() */ + #undef HAVE_OSERROR +  + /* We want to use errno later */ + #if !defined(_UNIX_THREADS) && !defined(_MIT_POSIX_THREADS) && defined(HAVE_SPROC) && defined(HAVE_OSERROR) && !defined(errno) + #define errno (oserror()) + #endif /* !_UNIX_THREADS && !_MIT_POSIX_THREADS && HAVE_SPROC && HAVE_OSERROR */ +    /* Define this if you have dlopen() */   #undef HAVE_DLOPEN      /* Define this if you have dlsym() */   #undef HAVE_DLSYM      /* Define this if you have dld_link() */   #undef HAVE_DLD_LINK      /* Define this if you have dld_get_func() */   #undef HAVE_DLD_GET_FUNC      /* Define this if you have <dlfcn.h> */   #undef HAVE_DLFCN_H      /* Define this if you have <dld.h> */   #undef HAVE_DLD_H      #endif /* MACHINE_H */