diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 15:10:56 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 15:10:56 +0100 |
commit | cf721521b6db0c67087ca1b34f4de204c55d5b93 (patch) | |
tree | 3b2cc4f7cbf8094cd03a0d161f64684e4e4c8084 | |
parent | 75819db083177d55940861d7da6c3a32e9663670 (diff) | |
download | samba-cf721521b6db0c67087ca1b34f4de204c55d5b93.tar.gz samba-cf721521b6db0c67087ca1b34f4de204c55d5b93.tar.bz2 samba-cf721521b6db0c67087ca1b34f4de204c55d5b93.zip |
Remove need to define _SAMBA_BUILD_ == 4 when using installed headers.
-rwxr-xr-x | source4/script/installheader.pl | 2 |
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 $_; } |