s3-safe_string: Add checked_strlcpy()
[sfrench/samba-autobuild/.git] / wscript_build
index 22cd7a035091bf90e9b0e358e539580516dd289f..d955f90dc2ce9b97675d985be11d3debb8d64178 100644 (file)
@@ -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')