From f303db5bfd627b8764f031671d95d69ad271674c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 3 Mar 2011 17:22:38 +1100 Subject: build: force _SAMBA_BUILD_==4 to be true in public headers for s4 public headers, this is always true --- wscript_build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wscript_build') diff --git a/wscript_build b/wscript_build index 22cd7a0350..d955f90dc2 100644 --- a/wscript_build +++ b/wscript_build @@ -24,6 +24,9 @@ bld.env.build_public_headers = 'include/public' # compilation, so they are safe bld.env.public_headers_skip = ['param/param_proto.h', 'lib/ldb_compat.h'] +# force headers to use SAMBA4 rules +bld.env.public_headers_replace = { '#if _SAMBA_BUILD_ == 4' : '#if 1 /* _SAMBA_BUILD_ == 4 */' } + samba_version.load_version(bld.env) bld.SAMBA_MKVERSION('version.h') -- cgit