You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

160 lines
2.9 KiB

  1. // Defines CPU and compiler dependent macros
  2. #ifndef _CL_CONFIG_H
  3. #define _CL_CONFIG_H
  4. /* These definitions are adjusted by `configure' automatically. */
  5. /* release version */
  6. #undef CL_VERSION_MAJOR
  7. #undef CL_VERSION_MINOR
  8. #undef CL_VERSION_PATCHLEVEL
  9. #undef CL_VERSION
  10. /* CPU */
  11. #ifndef __i386__
  12. #undef __i386__
  13. #endif
  14. // Take care not to define both __i386__ and __x86_64__ on those systems with
  15. // 64 bit kernel and 32 bit userland:
  16. #ifndef __x86_64__
  17. #ifndef __i386__
  18. #undef __x86_64__
  19. #endif
  20. #endif
  21. #ifndef __m68k__
  22. #undef __m68k__
  23. #endif
  24. // NB: GCC def's __mips__ both on big-endian and little-endian systems.
  25. #ifndef __mips__
  26. #undef __mips__
  27. #endif
  28. #ifndef __mipsel__
  29. #undef __mipsel__
  30. #endif
  31. #ifndef __mips64__
  32. #undef __mips64__
  33. #endif
  34. #ifndef __sparc__
  35. #undef __sparc__
  36. #endif
  37. #ifndef __sparc64__
  38. #undef __sparc64__
  39. #endif
  40. #ifndef __alpha__
  41. #undef __alpha__
  42. #endif
  43. #ifndef __hppa__
  44. #undef __hppa__
  45. #endif
  46. #ifndef __arm__
  47. #undef __arm__
  48. #endif
  49. #ifndef __rs6000__
  50. #undef __rs6000__
  51. #endif
  52. #ifndef __powerpc64__
  53. #undef __powerpc64__
  54. #endif
  55. #ifndef __m88k__
  56. #undef __m88k__
  57. #endif
  58. #ifndef __convex__
  59. #undef __convex__
  60. #endif
  61. #ifndef __ia64__
  62. #undef __ia64__
  63. #endif
  64. #ifndef __s390__
  65. #undef __s390__
  66. #endif
  67. /* assembler syntax */
  68. /* CL_AS_UNDERSCORE */
  69. /* Define if C symbols are prefixed by an underscore in assembly language. */
  70. #undef ASM_UNDERSCORE
  71. /* compiler characteristics */
  72. /* CL_LONGLONG */
  73. /* Define if your compiler supports the `long long' type. */
  74. #undef HAVE_LONGLONG
  75. /* CL_LONGDOUBLE */
  76. /* Define if your compiler supports the `long double' type. */
  77. #undef HAVE_LONGDOUBLE
  78. /* header files */
  79. /* CL_UNISTD_H */
  80. /* Define if you have <unistd.h>. */
  81. #undef HAVE_UNISTD_H
  82. /* CL_GMP_SET_UINTD */
  83. /* Define one of the following so sizeof(uintD) matches sizeof(mp_limb_t). */
  84. #undef GMP_DEMANDS_UINTD_LONG_LONG
  85. #undef GMP_DEMANDS_UINTD_LONG
  86. #undef GMP_DEMANDS_UINTD_INT
  87. /* functions and declarations */
  88. /* CL_ALLOCA */
  89. /* Define if you have <alloca.h> and it should be used (not Ultrix). */
  90. #undef HAVE_ALLOCA_H
  91. /* Define if you need to link with an external alloca.o when using alloca(). */
  92. #undef NO_ALLOCA
  93. /* compiler characteristics */
  94. /* CL_GLOBAL_CONSTRUCTORS */
  95. /* Define as the prefix of the name of a module's global constructor function,
  96. cf. macro FILE_FUNCTION_FORMAT in gcc/tree.c. */
  97. #ifndef CL_GLOBAL_CONSTRUCTOR_PREFIX
  98. #undef CL_GLOBAL_CONSTRUCTOR_PREFIX
  99. #endif
  100. /* Define as the prefix of the name of a module's global destructor function,
  101. cf. macro FILE_FUNCTION_FORMAT in gcc/tree.c. */
  102. #ifndef CL_GLOBAL_DESTRUCTOR_PREFIX
  103. #undef CL_GLOBAL_DESTRUCTOR_PREFIX
  104. #endif
  105. /* Define if a module's global constructor function and global destructor
  106. function need to be exported in order to be accessible from other modules. */
  107. #undef CL_NEED_GLOBALIZE_CTORDTOR
  108. /* CL_CHAR_UNSIGNED */
  109. #ifndef __CHAR_UNSIGNED__
  110. #undef __CHAR_UNSIGNED__
  111. #endif
  112. /* CL_MACHINE */
  113. /* see cl_intparam.h */
  114. /* see cl_floatparam.h */
  115. #endif /* _CL_CONFIG_H */