diff options
author | theraven <theraven@FreeBSD.org> | 2012-03-14 14:39:07 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2012-03-14 14:39:07 +0000 |
commit | ff1fc6fb5cf6febb3683f7cb3824ab6b4d7ad43f (patch) | |
tree | 4bfa527a9cfebc6907da7a152ce075c77ca18f0f | |
parent | 9621065c9461e2ec9e91cd5fbb3d561e1387dc01 (diff) | |
download | FreeBSD-src-ff1fc6fb5cf6febb3683f7cb3824ab6b4d7ad43f.zip FreeBSD-src-ff1fc6fb5cf6febb3683f7cb3824ab6b4d7ad43f.tar.gz |
Expose some C11 stuff that is also C++11 stuff in C++11 mode.
Approved by: dim (mentor)
-rw-r--r-- | include/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 2c62f09..11ac074 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 |