From 128e470add2300d3a443b05abbb33aef9f6649a9 Mon Sep 17 00:00:00 2001 From: "pkw%us.ibm.com" Date: Thu, 8 Sep 2005 13:59:09 +0000 Subject: [PATCH] Bug 307478 - Build failure with syntax error in nsDebug.h - Fixes AIX build bustage. Patch by Rupesh Thota r=benjamin@smedbergs.us --- xpcom/glue/nsDebug.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/xpcom/glue/nsDebug.h b/xpcom/glue/nsDebug.h index 548bd2164326..52dd7569df62 100644 --- a/xpcom/glue/nsDebug.h +++ b/xpcom/glue/nsDebug.h @@ -216,10 +216,10 @@ PR_END_EXTERN_C #endif /* ! NS_DEBUG */ -// Macros for checking the trueness of an expression passed in within an -// interface implementation. These need to be compiled regardless of the -// NS_DEBUG flag -/////////////////////////////////////////////////////////////////////////////// +/* Macros for checking the trueness of an expression passed in within an + * interface implementation. These need to be compiled regardless of the */ +/* NS_DEBUG flag +******************************************************************************/ #define NS_ENSURE_TRUE(x, ret) \ PR_BEGIN_MACRO \ @@ -232,16 +232,16 @@ PR_END_EXTERN_C #define NS_ENSURE_FALSE(x, ret) \ NS_ENSURE_TRUE(!(x), ret) -/////////////////////////////////////////////////////////////////////////////// -// Macros for checking results -/////////////////////////////////////////////////////////////////////////////// +/****************************************************************************** +** Macros for checking results +******************************************************************************/ #define NS_ENSURE_SUCCESS(res, ret) \ NS_ENSURE_TRUE(NS_SUCCEEDED(res), ret) -/////////////////////////////////////////////////////////////////////////////// -// Macros for checking state and arguments upon entering interface boundaries -/////////////////////////////////////////////////////////////////////////////// +/****************************************************************************** +** Macros for checking state and arguments upon entering interface boundaries +******************************************************************************/ #define NS_ENSURE_ARG(arg) \ NS_ENSURE_TRUE(arg, NS_ERROR_INVALID_ARG) @@ -267,7 +267,7 @@ PR_END_EXTERN_C #define NS_ENSURE_PROPER_AGGREGATION(outer, iid) \ NS_ENSURE_FALSE(outer && !iid.Equals(NS_GET_IID(nsISupports)), NS_ERROR_INVALID_ARG) -/////////////////////////////////////////////////////////////////////////////// +/*****************************************************************************/ #ifdef XPCOM_GLUE #define NS_CheckThreadSafe