BSD/OS's sys/types.h defines int32_t and u_int32_t, but not uint32_t. Geez.

git-svn-id: svn://10.0.0.236/trunk@159156 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com
2004-07-13 22:15:51 +00:00
parent 2a7e48480c
commit c1e6f5dcc2

View File

@@ -60,11 +60,13 @@
#endif
#elif defined(bsdi)
/*
* BSD/OS ships sys/types.h that define [u]int32_t, but no header
* that defines bool for C
* BSD/OS ships sys/types.h that define int32_t and u_int32_t, but
* no header that defines uint32_t, nor bool (for C)
*/
#include <sys/types.h>
typedef u_int32_t uint32_t;
#if !defined(__cplusplus)
typedef int bool;
#endif