s3-includes: force _SAMBA_BUILD_=3 in source3 includes.h
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Feb 2011 05:19:46 +0000 (16:19 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 18 Feb 2011 04:09:46 +0000 (15:09 +1100)
this allows a common set of cflags for a top level combined build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source3/include/includes.h

index 2c67a75ab3cadb701f722acd6a0b33c82bb6feba..8276053846874047dc1668860e5723af21cc5835 100644 (file)
 
 #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