diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-15 16:19:46 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-18 15:09:46 +1100 |
commit | b74ac941f9b72931963b6a629553d2fc2bb1e4ff (patch) | |
tree | 4b91b998ec8ace8475cc00d68d8da9bb2c98bca7 /source3 | |
parent | d5d26e3269cea38f1cdcd060560ad5d1e3e23589 (diff) | |
download | samba-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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 5 |
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 |