pike.git / src / acconfig.h

version» Context lines:

pike.git/src/acconfig.h:132:      @BOTTOM@      /* How to set a socket non-blocking */   #undef USE_IOCTL_FIONBIO   #undef USE_FCNTL_O_NDELAY   #undef USE_FCNTL_FNDELAY   #undef USE_FCNTL_O_NONBLOCK      /* We want to use errno later */ - #if !defined(_UNIX_THREADS) && !defined(_MIT_POSIX_THREADS) && defined(HAVE_SPROC) && defined(HAVE_OSERROR) && !defined(errno) + #ifdef _SGI_SPROC_THREADS + /* Magic define of _SGI_MP_SOURCE above might redefine errno below */ + #include <errno.h> + #if defined(HAVE_OSERROR) && !defined(errno)   #define errno (oserror()) - #endif /* !_UNIX_THREADS && !_MIT_POSIX_THREADS && HAVE_SPROC && HAVE_OSERROR */ + #endif /* HAVE_OSERROR && !errno */ + #endif /* _SGI_SPROC_THREADS */      #ifdef HAVE_FUNCTION_ATTRIBUTES   #define ATTRIBUTE(X) __attribute__ (X)   #else   #define ATTRIBUTE(X)   #endif      #endif /* MACHINE_H */