git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove need to define _SAMBA_BUILD_ == 4 when using installed headers.
[ira/wip.git]
/
source4
/
script
/
installheader.pl
diff --git
a/source4/script/installheader.pl
b/source4/script/installheader.pl
index 6b10bde65f33775ec982c19a0cd7b47b60aadddf..a962306a748e58da5d754db328dcb6de18821288 100755
(executable)
--- 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 $_;
}