Bug 370063 OpenBSD: sync with reality - they define uint32_t and bool
changes by one of pvalchev@openbsd.org, wilfried@openbsd.org, robert@openbsd.org, or naddy@openbsd.org (or at least Martynas Venckus thinks it was one of them) patch by martynas@openbsd.org correct spelling thanks to vicviq@gmail.com r=jst sr=jst git-svn-id: svn://10.0.0.236/trunk@224211 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -67,10 +67,8 @@
|
||||
|
||||
/*
|
||||
* BSD/OS ships no header that defines uint32_t, nor bool (for C)
|
||||
* OpenBSD ships no header that defines uint32_t and using its bool macro is
|
||||
* unsafe.
|
||||
*/
|
||||
#if defined(bsdi) || defined(OPENBSD)
|
||||
#if defined(bsdi)
|
||||
typedef u_int32_t uint32_t;
|
||||
|
||||
#if !defined(__cplusplus)
|
||||
@@ -78,7 +76,7 @@
|
||||
#endif
|
||||
#else
|
||||
/*
|
||||
* FreeBSD defines uint32_t and bool.
|
||||
* FreeBSD and OpenBSD define uint32_t and bool.
|
||||
*/
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
Reference in New Issue
Block a user