From 2652a93dfa48dfa6c9965fb1de60faa9b3fb99a4 Mon Sep 17 00:00:00 2001 From: "bugzilla%arlen.demon.co.uk" Date: Thu, 19 May 2005 21:49:42 +0000 Subject: [PATCH] Bug 259325 build error on OpenBSD p=ajschult@verizon.net r=benjamin sr=jst a=asa git-svn-id: svn://10.0.0.236/trunk@173607 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/base/public/nptypes.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mozilla/modules/plugin/base/public/nptypes.h b/mozilla/modules/plugin/base/public/nptypes.h index ffeffee5c79..a05d3956576 100644 --- a/mozilla/modules/plugin/base/public/nptypes.h +++ b/mozilla/modules/plugin/base/public/nptypes.h @@ -67,19 +67,15 @@ /* * BSD/OS ships no header that defines uint32_t, nor bool (for C) - * OpenBSD ships no header that defines uint32_t, but provides bool as a - * macro. + * OpenBSD ships no header that defines uint32_t and using its bool macro is + * unsafe. */ #if defined(bsdi) || defined(OPENBSD) typedef u_int32_t uint32_t; - #if defined(bsdi) #if !defined(__cplusplus) typedef int bool; #endif - #else /* OPENBSD is defined, so use its bool */ - #include - #endif #else /* * FreeBSD defines uint32_t and bool.