From: Andrew Tridgell Date: Tue, 15 Feb 2011 05:19:46 +0000 (+1100) Subject: s3-includes: force _SAMBA_BUILD_=3 in source3 includes.h X-Git-Tag: tevent-0.9.11~534 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b74ac941f9b72931963b6a629553d2fc2bb1e4ff;p=thirdparty%2Fsamba.git s3-includes: force _SAMBA_BUILD_=3 in source3 includes.h this allows a common set of cflags for a top level combined build Pair-Programmed-With: Andrew Bartlett --- diff --git a/source3/include/includes.h b/source3/include/includes.h index 2c67a75ab3c..82760538468 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -22,6 +22,11 @@ #include "../replace/replace.h" +#if _SAMBA_BUILD_ == 4 +# undef _SAMBA_BUILD_ +# define _SAMBA_BUILD_ 3 +#endif + /* make sure we have included the correct config.h */ #ifndef NO_CONFIG_H /* for some tests */ #ifndef CONFIG_H_IS_FROM_SAMBA