summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 15:10:56 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 15:10:56 +0100
commitcf721521b6db0c67087ca1b34f4de204c55d5b93 (patch)
tree3b2cc4f7cbf8094cd03a0d161f64684e4e4c8084 /source4/script
parent75819db083177d55940861d7da6c3a32e9663670 (diff)
downloadsamba-cf721521b6db0c67087ca1b34f4de204c55d5b93.tar.gz
samba-cf721521b6db0c67087ca1b34f4de204c55d5b93.tar.bz2
samba-cf721521b6db0c67087ca1b34f4de204c55d5b93.zip
Remove need to define _SAMBA_BUILD_ == 4 when using installed headers.
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/installheader.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/script/installheader.pl b/source4/script/installheader.pl
index 6b10bde65f..a962306a74 100755
--- a/source4/script/installheader.pl
+++ b/source4/script/installheader.pl
@@ -64,6 +64,8 @@ sub install_header($$)
if (/^#include \"(.*)\"/) {
print OUT "#include <" . rewrite_include("$src:$lineno", $1) . ">\n";
+ } else if (/^#if _SAMBA_BUILD_ == 4/) {
+ print OUT "#if 1\n";
} else {
print OUT $_;
}