summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgrant <grant>2003-10-10 10:15:09 +0000
committergrant <grant>2003-10-10 10:15:09 +0000
commit0402e1aa1c225e6bc1d48a45a0c001eee06562a2 (patch)
tree7a051850a6abdc2c7a51059c965b56bda0135a5c /pkgtools
parentf7150dcc89d53c737908d77955a3ddd2cd95dc08 (diff)
downloadpkgsrc-0402e1aa1c225e6bc1d48a45a0c001eee06562a2.tar.gz
use !defined instead of ! for testing if {,U}LLONG_MAX is defined.
fixes build on bsdi, noted by Jeremy C. Reed on tech-pkg.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/libnbcompat/files/nbcompat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat.h b/pkgtools/libnbcompat/files/nbcompat.h
index e1f15a30938..06b5617f00c 100644
--- a/pkgtools/libnbcompat/files/nbcompat.h
+++ b/pkgtools/libnbcompat/files/nbcompat.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nbcompat.h,v 1.25 2003/09/23 02:03:36 jschauma Exp $ */
+/* $NetBSD: nbcompat.h,v 1.26 2003/10/10 10:15:09 grant Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -481,11 +481,11 @@ long long strtoll(const char *, char **, int);
# define NO_LONG_LONG 1
#endif /* ! HAVE_QUAD_SUPPORT */
-#if !LLONG_MAX
+#if ! defined(LLONG_MAX)
# define LLONG_MAX 0x7fffffffffffffffLL /* max long long */
#endif
-#if !ULLONG_MAX
+#if ! defined(ULLONG_MAX)
# define ULLONG_MAX 0xffffffffffffffffULL /* max unsigned long long */
#endif