Module Name: src
Committed By: christos
Date: Sun Mar 20 16:26:06 UTC 2016
Modified Files:
src/include: stddef.h
Log Message:
use foo - 0 instead of testing for defined(foo); from joerg@
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/include/stddef.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/stddef.h
diff -u src/include/stddef.h:1.19 src/include/stddef.h:1.20
--- src/include/stddef.h:1.19 Sun Mar 20 10:11:49 2016
+++ src/include/stddef.h Sun Mar 20 12:26:06 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: stddef.h,v 1.19 2016/03/20 14:11:49 christos Exp $ */
+/* $NetBSD: stddef.h,v 1.20 2016/03/20 16:26:06 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -67,8 +67,7 @@ typedef _BSD_WCHAR_T_ wchar_t;
(&reinterpret_cast<const volatile char &>(static_cast<type *>(0)->member))))
#endif
-#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \
- || (defined(__cplusplus) && __cplusplus >= 201103L)
+#if (__STDC_VERSION__ - 0) >= 201112L || (__cplusplus - 0) >= 201103L
typedef union {
void *_v;
long double _ld;