[Git][NTPsec/ntpsec][master] Remove HAVE_STDDEF_H from config.h

Hal Murray gitlab at mg.gitlab.com
Thu Mar 30 07:29:29 UTC 2017


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
f52f2a4a by Hal Murray at 2017-03-30T00:28:43-07:00
Remove HAVE_STDDEF_H from config.h

- - - - -


1 changed file:

- wafhelpers/configure.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -409,8 +409,10 @@ int main(int argc, char **argv) {
         ctx.check_cc(type_name=s, header_name=h, mandatory=False)
 
     # waf's SNIP_FIELD should likely include this header itself
+    # This is needed on some systems to get size_t for following checks
     ctx.check_cc(auto_add_header_name=True,
                  header_name="stddef.h",
+                 define_name="",           # omit from config.h
                  mandatory=False)
 
     structure_fields = (



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/f52f2a4ad970d5e4064c926636efbb77a900991b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170330/9cd0d415/attachment.html>


More information about the vc mailing list