]> 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 f59133616e4d211c243a669e1fa9e89d3d194d48..b1b1ebdac7c84b366e0761d9677e1fe5284f0204 100644 (file)
 #undef __i386__
 #endif
 
-// Take care not to define both __i386__ and __x86_64__ on those systems with
-// 64 bit kernel and 32 bit userland:
 #ifndef __x86_64__
-#ifndef __i386__
 #undef __x86_64__
 #endif
-#endif
 
 #ifndef __m68k__
 #undef __m68k__
 #undef __rs6000__
 #endif
 
+#ifndef __powerpc64__
+#undef __powerpc64__
+#endif
+
 #ifndef __m88k__
 #undef __m88k__
 #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__