From 8ecd6b2a1283a28bcf56cfe48099fafa412a3929 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 6 Jan 2012 18:11:50 +0000 Subject: Fix C11 header changes for C++. --- assert/assert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assert') diff --git a/assert/assert.h b/assert/assert.h index 4022e28b55..2e3e2b568a 100644 --- a/assert/assert.h +++ b/assert/assert.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,1992,1994-2001,2003,2004,2007,2011 +/* Copyright (C) 1991,1992,1994-2001,2003,2004,2007,2011,2012 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -115,7 +115,7 @@ __END_DECLS #endif /* NDEBUG. */ -#ifdef __USE_ISOC11 +#if defined __USE_ISOC11 && !defined __cplusplus /* Static assertion. Requires support in the compiler. */ # undef static_assert # define static_assert _Static_assert -- cgit 1.4.1