summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-15 16:19:46 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-18 15:09:46 +1100
commitb74ac941f9b72931963b6a629553d2fc2bb1e4ff (patch)
tree4b91b998ec8ace8475cc00d68d8da9bb2c98bca7
parentd5d26e3269cea38f1cdcd060560ad5d1e3e23589 (diff)
downloadsamba-b74ac941f9b72931963b6a629553d2fc2bb1e4ff.tar.gz
samba-b74ac941f9b72931963b6a629553d2fc2bb1e4ff.tar.bz2
samba-b74ac941f9b72931963b6a629553d2fc2bb1e4ff.zip
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 <abartlet@samba.org>
-rw-r--r--source3/include/includes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2c67a75ab3..8276053846 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