cdefs.h 574 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef __SYS_CDEFS_H
  2. #define __SYS_CDEFS_H
  3. #include <features.h>
  4. #if defined (__STDC__) && __STDC__
  5. #define __CONCAT(x,y) x ## y
  6. #define __STRING(x) #x
  7. /* This is not a typedef so `const __ptr_t' does the right thing. */
  8. #define __ptr_t void *
  9. typedef long double __long_double_t;
  10. #else
  11. #define __CONCAT(x,y) x/**/y
  12. #define __STRING(x) "x"
  13. #define __ptr_t char *
  14. #ifndef __HAS_NO_FLOATS__
  15. typedef double __long_double_t;
  16. #endif
  17. #endif
  18. /* No C++ */
  19. #define __BEGIN_DECLS
  20. #define __END_DECLS
  21. /* GNUish things */
  22. #define __CONSTVALUE
  23. #define __CONSTVALUE2
  24. #endif