pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/posix_headers/files Use full parameter lists ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5390733e5a9f
branches: trunk
changeset: 531759:5390733e5a9f
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Aug 05 22:06:11 2007 +0000
description:
Use full parameter lists in macros to avoid bogus replacements.
diffstat:
pkgtools/posix_headers/files/stdlib.h.in | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (18 lines):
diff -r 5b4cc64a3fe4 -r 5390733e5a9f pkgtools/posix_headers/files/stdlib.h.in
--- a/pkgtools/posix_headers/files/stdlib.h.in Sun Aug 05 21:50:08 2007 +0000
+++ b/pkgtools/posix_headers/files/stdlib.h.in Sun Aug 05 22:06:11 2007 +0000
@@ -1,9 +1,9 @@
#if !defined(@strtoll@) && defined(__hpux)
@include <inttypes.h>
-@define strtoll __strtoll
-@define strtoull __strtoull
+@define strtoll(nptr, endptr, base) __strtoll(nptr, endptr, base)
+@define strtoull(nptr, endptr, base) __strtoull(nptr, endptr, base)
#endif
-#if !defined(@strtoll@) && defined(__digital__)
-@define strtoll strtol
-@define strtoull strtoul
+#if !defined(@strtoll@) && defined(__digital__) && defined(notyet)
+@define strtoll(nptr, endptr, base) strtol(nptr, endptr, base)
+@define strtoull(nptr, endptr, base) strtoul(nptr, endptr, base)
#endif
Home |
Main Index |
Thread Index |
Old Index