From 4a4f55791fd246ea6060d2462fd9cd4e26f96520 Mon Sep 17 00:00:00 2001 From: "jst%mozilla.jstenback.com" Date: Mon, 12 Jul 2004 18:33:49 +0000 Subject: [PATCH] Another attempt at getting btek turn green w/o breaking other builds. git-svn-id: svn://10.0.0.236/trunk@159086 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/base/public/nptypes.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mozilla/modules/plugin/base/public/nptypes.h b/mozilla/modules/plugin/base/public/nptypes.h index 6aacac596b5..e9b2b6eb83e 100644 --- a/mozilla/modules/plugin/base/public/nptypes.h +++ b/mozilla/modules/plugin/base/public/nptypes.h @@ -46,9 +46,12 @@ typedef int int32_t; typedef unsigned int uint32_t; #else #include + +#if !defined(__GNUC__) || (__GNUC__ > 2 && __GNUC_MINOR__ > 96) #ifndef __cplusplus #ifndef bool typedef int bool; -#endif -#endif +#endif /* bool */ +#endif /* __cplusplus */ +#endif /* !defined(__GNUC__) || (__GNUC__ > 2 && __GNUC_MINOR__ > 96) */ #endif