Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Revert previous
details: https://anonhg.NetBSD.org/src/rev/fb4558d50038
branches: trunk
changeset: 969803:fb4558d50038
user: kamil <kamil%NetBSD.org@localhost>
date: Sun Mar 01 22:08:17 2020 +0000
description:
Revert previous
Requested by joerg who wants to fix (ab)users.
diffstat:
include/stddef.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r a9a0d3add495 -r fb4558d50038 include/stddef.h
--- a/include/stddef.h Sun Mar 01 21:43:56 2020 +0000
+++ b/include/stddef.h Sun Mar 01 22:08:17 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stddef.h,v 1.22 2020/03/01 15:18:34 kamil Exp $ */
+/* $NetBSD: stddef.h,v 1.23 2020/03/01 22:08:17 kamil Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -67,8 +67,7 @@
(&reinterpret_cast<const volatile char &>(static_cast<type *>(0)->member))))
#endif
-#if (__STDC_VERSION__ - 0) > 199901L || defined(__cplusplus)
-/* Introduced in C11/C++11, as an extension exposed to C99/C++98 */
+#if (__STDC_VERSION__ - 0) >= 201112L || (__cplusplus - 0) >= 201103L
typedef union {
void *_v;
long double _ld;
Home |
Main Index |
Thread Index |
Old Index