Permalink
Browse files

9553 C11 functions quick_exit and at_quick_exit should be visible in …

…C++11.

Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information...
alarcher authored and danmcd committed May 24, 2018
1 parent 1cdca62 commit 27df165cb1057f761e8c77051edac6c560d1e4d9
Showing with 4 additions and 1 deletion.
  1. +4 −1 usr/src/head/iso/stdlib_c11.h
@@ -58,9 +58,12 @@ namespace std {
#if !defined(_STRICT_SYMBOLS) || defined(_STDC_C11)
extern void *aligned_alloc(size_t, size_t);
#endif /* !_STRICT_SYMBOLS || _STDC_C11 */
#if !defined(_STRICT_SYMBOLS) || defined(_STDC_C11) || __cplusplus >= 201103L
extern int at_quick_exit(void (*)(void));
extern _NORETURN_KYWD void quick_exit(int);
#endif /* !_STRICT_SYMBOLS || _STDC_C11 */
#endif /* !_STRICT_SYMBOLS || _STDC_C11 || __cplusplus >= 201103L */
#if __cplusplus >= 199711L
}

0 comments on commit 27df165

Please sign in to comment.