pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:209:
/* We want to use errno later */ #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 /* HAVE_OSERROR && !errno */ #endif /* _SGI_SPROC_THREADS */
-
/* This macro is only provided for compatibility with
-
* Windows PreRelease. Use ALIGNOF() instead!
-
* (Needed for va_arg().)
-
*/
-
#ifndef __alignof
-
#define __alignof(X) ((size_t)&(((struct { char ignored_ ; X fooo_; } *)0)->fooo_))
-
#endif /* __alignof */
-
+
#ifdef HAVE_FUNCTION_ATTRIBUTES #define ATTRIBUTE(X) __attribute__ (X) #else #define ATTRIBUTE(X) #endif #ifdef HAVE_DECLSPEC #define DECLSPEC(X) __declspec(X) #else /* !HAVE_DECLSPEC */ #define DECLSPEC(X)