From 5bf97dd24f0eb8b24186e20046bd39d43c8e40ac Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Thu, 5 Apr 2007 11:21:59 +0000 Subject: [PATCH] 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 --- mozilla/modules/plugin/base/public/nptypes.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/modules/plugin/base/public/nptypes.h b/mozilla/modules/plugin/base/public/nptypes.h index 051ccd705e4..6f6e3fbf4de 100644 --- a/mozilla/modules/plugin/base/public/nptypes.h +++ b/mozilla/modules/plugin/base/public/nptypes.h @@ -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 #include