From 79d09835dd3c33a699b00d00ec50be6a4512b57f Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Wed, 14 Mar 2012 14:39:07 +0000 Subject: [PATCH] Expose some C11 stuff that is also C++11 stuff in C++11 mode. Approved by: dim (mentor) --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index 2c62f091c136..11ac074374dd 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -151,7 +151,7 @@ _Noreturn void _Exit(int); /* * If we're in a mode greater than C99, expose C11 functions. */ -#if __ISO_C_VISIBLE >= 2011 +#if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L void * aligned_alloc(size_t, size_t); int at_quick_exit(void (*)(void)); _Noreturn void