[ntpsec commit] Remove an unnecessary type probe.
Eric S. Raymond
esr at ntpsec.org
Sat Oct 3 20:50:32 UTC 2015
Module: ntpsec
Branch: master
Commit: ecd7f1233a25953b43e8784728c15d36ade177b6
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=ecd7f1233a25953b43e8784728c15d36ade177b6
Author: Eric S. Raymond <esr at thyrsus.com>
Date: Sat Oct 3 16:02:03 2015 -0400
Remove an unnecessary type probe.
---
pylib/configure.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/pylib/configure.py b/pylib/configure.py
index b8f4883..b3fbfb3 100644
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -91,8 +91,11 @@ def cmd_configure(ctx):
ctx.define("NTPS_VERSION_STRING", ctx.env.NTPS_VERSION_STRING)
ctx.end_msg(ctx.env.NTPS_VERSION_STRING)
-
- types = ["int32", "int32_t", "uint32_t", "int64_t", "uint64_t", "uint_t", "size_t", "wint_t", "pid_t", "intptr_t", "uintptr_t"]
+ # int32_t and uint32_t probes aren't really needed, POSIX guarantees
+ # them. But int64_t and uint64_t are not guaranteed to exist on 32-bit
+ # machines.
+ types = ["int32_t", "uint32_t", "int64_t", "uint64_t",
+ "uint_t", "size_t", "wint_t", "pid_t", "intptr_t", "uintptr_t"]
for inttype in sorted(types):
ctx.check_type(inttype, ["stdint.h", "sys/types.h"])
More information about the vc
mailing list