Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/quad change an #if __GNUC >= 2 to #if (__GNUC__ >= ...



details:   https://anonhg.NetBSD.org/src/rev/a86b84ab0ae1
branches:  trunk
changeset: 472611:a86b84ab0ae1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 03 15:39:47 1999 +0000

description:
change an #if __GNUC >= 2 to #if (__GNUC__ >= 2) || defined(lint)
to get the right definition of qshift_t.

diffstat:

 lib/libc/quad/quad.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fdbccc439350 -r a86b84ab0ae1 lib/libc/quad/quad.h
--- a/lib/libc/quad/quad.h      Mon May 03 15:38:41 1999 +0000
+++ b/lib/libc/quad/quad.h      Mon May 03 15:39:47 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: quad.h,v 1.6 1998/03/27 01:01:54 cgd Exp $     */
+/*     $NetBSD: quad.h,v 1.7 1999/05/03 15:39:47 christos Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -107,7 +107,7 @@
  * as u_quad_t, while gcc 2 correctly uses int.  Unfortunately, we still use
  * both compilers.
  */
-#if __GNUC__ >= 2
+#if (__GNUC__ >= 2) || defined(lint)
 typedef unsigned int   qshift_t;
 #else
 typedef u_quad_t       qshift_t;



Home | Main Index | Thread Index | Old Index