aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-03-14 14:39:07 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-03-14 14:39:07 +0000
commit79d09835dd3c33a699b00d00ec50be6a4512b57f (patch)
tree4bfa527a9cfebc6907da7a152ce075c77ca18f0f /include
parent77b5f5c8e2a325474a5bb21360969241f131062c (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 2c62f091c1361..11ac074374dd3 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