aboutsummaryrefslogtreecommitdiff
path: root/include/stddef.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-05-01 00:40:10 +0000
committerBruce Evans <bde@FreeBSD.org>1996-05-01 00:40:10 +0000
commitcdd84b02119661919861a0ce13cffa523d3e93a9 (patch)
treeb4f19035144b5bb4ec62efb83042948423f85486 /include/stddef.h
parent494908b12c364c19a509066a0854da867b467a21 (diff)
Notes
Diffstat (limited to 'include/stddef.h')
-rw-r--r--include/stddef.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/stddef.h b/include/stddef.h
index 70af6892224ae..38a773636a78a 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -40,15 +40,19 @@
typedef _BSD_PTRDIFF_T_ ptrdiff_t;
+#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
+#ifdef _BSD_RUNE_T_
+typedef _BSD_RUNE_T_ rune_t;
+#undef _BSD_RUNE_T_
+#endif
+#endif
+
#ifdef _BSD_SIZE_T_
typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_
#endif
#ifdef _BSD_WCHAR_T_
-#ifndef _ANSI_SOURCE
-typedef _BSD_WCHAR_T_ rune_t;
-#endif
typedef _BSD_WCHAR_T_ wchar_t;
#undef _BSD_WCHAR_T_
#endif