summaryrefslogtreecommitdiff
path: root/include/assert.h
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2000-08-07 16:21:32 +0000
committerkleink <kleink@NetBSD.org>2000-08-07 16:21:32 +0000
commitbeec93565908b76bf85fbf8f82cfe690753c74a2 (patch)
treef00741eed80275ca0f62f12676e6151ecf35ae1a /include/assert.h
parent6acd1fa3412944bb2f23de05b90301fdff0a7fd8 (diff)
#ifdef __STDC__ -> #if __STDC__
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/assert.h b/include/assert.h
index 8004a309067..125b21a034b 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -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"))