diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-08-07 15:49:32 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-08-07 15:49:32 +0000 |
| commit | f24f873d3723f580c9517b1937910db4d378d909 (patch) | |
| tree | 0949dd535e89a656e54059761d508bf038ef53ca /include | |
| parent | 16bdbd261376ca3f22c54e57ae874c009f37eaa3 (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/stddef.h | 2 | ||||
| -rw-r--r-- | include/stdlib.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h index feeebc90f784..0d95b4676e63 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -54,10 +54,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 #ifndef NULL #define NULL 0 diff --git a/include/stdlib.h b/include/stdlib.h index b12c1279a3d9..85359a2edbae 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 */ |
