From: Stefan Metzmacher Date: Fri, 14 May 2010 08:35:46 +0000 (+0200) Subject: s4:heimdal_build: move #undef __APPLE__ to the end of roken.h X-Git-Tag: samba-3.6.0pre1~2023 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edecdab58f49481a2f9ef0ca59ef1407adba8e05;p=thirdparty%2Fsamba.git s4:heimdal_build: move #undef __APPLE__ to the end of roken.h Some system includes need __APPLE__ defined. metze --- diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h index 2cf36d3e5fa..35981b85d2f 100644 --- a/source4/heimdal_build/config.h +++ b/source4/heimdal_build/config.h @@ -28,9 +28,4 @@ #define LIBINTL #endif -/* we do not want any __APPLE__ magic */ -#ifdef __APPLE__ -#undef __APPLE__ -#endif - #endif diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h index 68d80f11f2b..50da1daa547 100644 --- a/source4/heimdal_build/roken.h +++ b/source4/heimdal_build/roken.h @@ -170,4 +170,9 @@ extern const char *heimdal_version; extern const char *heimdal_long_version; +/* we do not want any __APPLE__ magic */ +#ifdef __APPLE__ +#undef __APPLE__ +#endif + #endif