X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2Fconfig.h.in;h=7aad23c3bd65817e44b318524b3ad0825f2fd375;hb=53ae6edce0438b13f4eaef31acfc79a36045ee48;hp=f59133616e4d211c243a669e1fa9e89d3d194d48;hpb=2ebe834823ef6e01f3ac73fb2a2d55259820270b;p=cln.git diff --git a/include/cln/config.h.in b/include/cln/config.h.in index f591336..7aad23c 100644 --- a/include/cln/config.h.in +++ b/include/cln/config.h.in @@ -19,13 +19,9 @@ #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__ @@ -68,6 +64,10 @@ #undef __rs6000__ #endif +#ifndef __powerpc64__ +#undef __powerpc64__ +#endif + #ifndef __m88k__ #undef __m88k__ #endif @@ -127,20 +127,10 @@ /* compiler characteristics */ -/* CL_GLOBAL_CONSTRUCTORS */ -/* Define as the prefix of the name of a module's global constructor function, - cf. macro FILE_FUNCTION_FORMAT in gcc/tree.c. */ -#ifndef CL_GLOBAL_CONSTRUCTOR_PREFIX -#undef CL_GLOBAL_CONSTRUCTOR_PREFIX -#endif -/* Define as the prefix of the name of a module's global destructor function, - cf. macro FILE_FUNCTION_FORMAT in gcc/tree.c. */ -#ifndef CL_GLOBAL_DESTRUCTOR_PREFIX -#undef CL_GLOBAL_DESTRUCTOR_PREFIX +/* Define if the compiler knows about __attribute__((flatten)). */ +#ifndef CL_HAVE_ATTRIBUTE_FLATTEN +#undef CL_HAVE_ATTRIBUTE_FLATTEN #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 /* CL_CHAR_UNSIGNED */ #ifndef __CHAR_UNSIGNED__