summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-07-09 05:13:30 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-07-09 05:13:30 +0000
commit6087d2441e53d0dce1541ce9554e45c0167167d7 (patch)
treeacf420f0bef7948cce43fcfad7ad487a88949648 /include/stdlib.h
parent03fd39aa3db056d44cff63fd6d3adbcfe4334a19 (diff)
Notes
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index d41ccc8d2a97..f22f1e1d70ab 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -53,10 +53,12 @@ typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_
#endif
+#ifndef __cplusplus
#ifdef _BSD_WCHAR_T_
typedef _BSD_WCHAR_T_ wchar_t;
#undef _BSD_WCHAR_T_
#endif
+#endif
typedef struct {
int quot; /* quotient */