Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include #ifdef __STDC__ -> #if __STDC__
details: https://anonhg.NetBSD.org/src/rev/86e693839cfd
branches: trunk
changeset: 495840:86e693839cfd
user: kleink <kleink%NetBSD.org@localhost>
date: Mon Aug 07 16:21:32 2000 +0000
description:
#ifdef __STDC__ -> #if __STDC__
diffstat:
include/assert.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r dae49ead91ea -r 86e693839cfd include/assert.h
--- a/include/assert.h Mon Aug 07 16:18:45 2000 +0000
+++ b/include/assert.h Mon Aug 07 16:21:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: assert.h,v 1.8 1999/09/15 23:53:26 lukem Exp $ */
+/* $NetBSD: assert.h,v 1.9 2000/08/07 16:21:32 kleink Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -58,11 +58,11 @@
# endif /* lint */
#else /* !NDEBUG */
# define _assert(e) assert(e)
-# ifdef __STDC__
+# if __STDC__
# define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e))
# else /* PCC */
# define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, "e"))
-# endif
+# endif /* !__STDC__ */
#endif /* NDEBUG */
#undef _DIAGASSERT
@@ -73,7 +73,7 @@
# define _DIAGASSERT(e)
# endif /* lint */
#else /* _DIAGNOSTIC */
-# if defined (__STDC__)
+# if __STDC__
# define _DIAGASSERT(e) ((e) ? (void)0 : __diagassert(__FILE__, __LINE__, #e))
# else /* !__STDC__ */
# define _DIAGASSERT(e) ((e) ? (void)0 : __diagassert(__FILE__, __LINE__, "e"))
Home |
Main Index |
Thread Index |
Old Index