pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files use !defined instead of ! f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7fa1f931a0c
branches:  trunk
changeset: 462718:d7fa1f931a0c
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Oct 10 10:15:09 2003 +0000

description:
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:

 pkgtools/libnbcompat/files/nbcompat.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r d89dcd548991 -r d7fa1f931a0c pkgtools/libnbcompat/files/nbcompat.h
--- a/pkgtools/libnbcompat/files/nbcompat.h     Fri Oct 10 10:01:26 2003 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat.h     Fri Oct 10 10:15:09 2003 +0000
@@ -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 @@
 # 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
 



Home | Main Index | Thread Index | Old Index