From 123bdb3ba338ee284da14cbf6d8c80e733f36f39 Mon Sep 17 00:00:00 2001 From: "jst%mozilla.jstenback.com" Date: Mon, 12 Jul 2004 18:15:31 +0000 Subject: [PATCH] Only define bool if not in C++. git-svn-id: svn://10.0.0.236/trunk@159081 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/base/public/nptypes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/modules/plugin/base/public/nptypes.h b/mozilla/modules/plugin/base/public/nptypes.h index a7ae681cd67..6aacac596b5 100644 --- a/mozilla/modules/plugin/base/public/nptypes.h +++ b/mozilla/modules/plugin/base/public/nptypes.h @@ -46,7 +46,9 @@ typedef int int32_t; typedef unsigned int uint32_t; #else #include +#ifndef __cplusplus #ifndef bool typedef int bool; #endif #endif +#endif