12345678910111213141516171819202122232425262728293031 |
- #ifndef __SYS_CDEFS_H
- #define __SYS_CDEFS_H
- #include <features.h>
- #if defined (__STDC__) && __STDC__
- #define __CONCAT(x,y) x ## y
- #define __STRING(x) #x
- /* This is not a typedef so `const __ptr_t' does the right thing. */
- #define __ptr_t void *
- #else
- #define __CONCAT(x,y) x/**/y
- #define __STRING(x) "x"
- #define __ptr_t char *
- #endif
- /* No C++ */
- #define __BEGIN_DECLS
- #define __END_DECLS
- /* GNUish things */
- #define __CONSTVALUE
- #define __CONSTVALUE2
- #endif
|