git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d26e3
)
s3-includes: force _SAMBA_BUILD_=3 in source3 includes.h
author
Andrew Tridgell
<tridge@samba.org>
Tue, 15 Feb 2011 05:19:46 +0000
(16:19 +1100)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source3/include/includes.h
b/source3/include/includes.h
index 2c67a75ab3cadb701f722acd6a0b33c82bb6feba..8276053846874047dc1668860e5723af21cc5835 100644
(file)
--- 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