projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prefix all ANSI #define's with BSD_ so don't collide with other vendors
[unix-history]
/
usr
/
src
/
include
/
stddef.h
diff --git
a/usr/src/include/stddef.h
b/usr/src/include/stddef.h
index
117bce1
..
27d7d72
100644
(file)
--- a/
usr/src/include/stddef.h
+++ b/
usr/src/include/stddef.h
@@
-4,7
+4,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)stddef.h 5.
5
(Berkeley) %G%
+ * @(#)stddef.h 5.
6
(Berkeley) %G%
*/
#ifndef _STDDEF_H_
*/
#ifndef _STDDEF_H_
@@
-12,16
+12,16
@@
#include <machine/ansi.h>
#include <machine/ansi.h>
-typedef _
PTRDIFF_T_
ptrdiff_t;
+typedef _
BSD_PTRDIFF_T_
ptrdiff_t;
-#ifdef _SIZE_T_
-typedef _
SIZE_T_
size_t;
-#undef _SIZE_T_
+#ifdef _
BSD_
SIZE_T_
+typedef _
BSD_SIZE_T_
size_t;
+#undef _
BSD_
SIZE_T_
#endif
#endif
-#ifdef _WCHAR_T_
-typedef _
WCHAR_T_
wchar_t;
-#undef _WCHAR_T_
+#ifdef _
BSD_
WCHAR_T_
+typedef _
BSD_WCHAR_T_
wchar_t;
+#undef _
BSD_
WCHAR_T_
#endif
#ifndef NULL
#endif
#ifndef NULL