]> www.ginac.de Git - cln.git/blobdiff - include/cln/config.h.in
Replace CL_REQUIRE/CL_PROVIDE(cl_I_ring) with portable code.
[cln.git] / include / cln / config.h.in
index a126631dbbe1b7ae8ffa8e7a381036971d142600..b1b1ebdac7c84b366e0761d9677e1fe5284f0204 100644 (file)
 #ifndef __i386__
 #undef __i386__
 #endif
+
+#ifndef __x86_64__
+#undef __x86_64__
+#endif
+
 #ifndef __m68k__
 #undef __m68k__
 #endif
+
+// NB: GCC def's __mips__ both on big-endian and little-endian systems.
 #ifndef __mips__
 #undef __mips__
 #endif
+
+#ifndef __mipsel__
+#undef __mipsel__
+#endif
+
 #ifndef __mips64__
 #undef __mips64__
 #endif
+
 #ifndef __sparc__
 #undef __sparc__
 #endif
+
 #ifndef __sparc64__
 #undef __sparc64__
 #endif
+
 #ifndef __alpha__
 #undef __alpha__
 #endif
+
 #ifndef __hppa__
 #undef __hppa__
 #endif
+
 #ifndef __arm__
 #undef __arm__
 #endif
+
 #ifndef __rs6000__
 #undef __rs6000__
 #endif
+
+#ifndef __powerpc64__
+#undef __powerpc64__
+#endif
+
 #ifndef __m88k__
 #undef __m88k__
 #endif
+
 #ifndef __convex__
 #undef __convex__
 #endif
+
 #ifndef __ia64__
 #undef __ia64__
 #endif
-#ifndef __x86_64__
-#undef __x86_64__
-#endif
+
 #ifndef __s390__
 #undef __s390__
 #endif
 /* Define if a module's global constructor function and global destructor
    function need to be exported in order to be accessible from other modules. */
 #undef CL_NEED_GLOBALIZE_CTORDTOR
+/* Define as the suffix of the name of a module's global constructor function */
+#ifndef CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC
+#undef CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC
+#endif
+#ifndef CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC
+#undef CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC
+#endif
+/* Define if the compiler knows about __attribute__((flatten)). */
+#ifndef CL_HAVE_ATTRIBUTE_FLATTEN
+#undef CL_HAVE_ATTRIBUTE_FLATTEN
+#endif
 
 /* CL_CHAR_UNSIGNED */
 #ifndef __CHAR_UNSIGNED__