aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-03-23 19:17:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-03-23 19:17:12 +0000
commit4ec98362ae5d572c46c2973eec55a9ed942f0ab0 (patch)
tree1e11aff3bc157edc0ba3970c4e5f82c999360e36 /include
parent9c4c0cc2140cfc96f09a3a5a88462c516af7e859 (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 d5506ff65ea4..8a645c0737c1 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -125,7 +125,7 @@ size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
*
* (The only other extension made by C99 in thie header is _Exit().)
*/
-#if __ISO_C_VISIBLE >= 1999
+#if __ISO_C_VISIBLE >= 1999 || defined(__cplusplus)
#ifdef __LONG_LONG_SUPPORTED
/* LONGLONG */
typedef struct {