From 5ed55b8e9a5e63dcc26221460b5a1277bdaddc5e Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Fri, 27 Oct 2000 18:30:16 +0000 Subject: [PATCH] OS/2 Tinderbox break Need PR_CALLBACK for OS/2, and bad include of windows.h for XP_PC...hurrah we have XP_WIN now --- xpcom/base/nsLogging.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xpcom/base/nsLogging.cpp b/xpcom/base/nsLogging.cpp index 0c8ff3618a26..e84c494eb2db 100644 --- a/xpcom/base/nsLogging.cpp +++ b/xpcom/base/nsLogging.cpp @@ -30,7 +30,7 @@ #include "nsISupportsArray.h" #include "nsIServiceManager.h" #include "nsSpecialSystemDirectory.h" -#ifdef XP_PC +#ifdef XP_WIN #include #endif @@ -87,14 +87,14 @@ nsLoggingService::Release(void) return mRefCnt; } -static void* +static void* PR_CALLBACK levelClone(nsHashKey *aKey, void *aData, void* closure) { PRUint32 level = (PRUint32)aData; return (void*)level; } -static PRBool +static PRBool PR_CALLBACK levelDestroy(nsHashKey *aKey, void *aData, void* closure) { return PR_TRUE; @@ -319,7 +319,7 @@ NS_GetLog(const char* name, PRUint32 controlFlags) return log; } -static PRBool +static PRBool PR_CALLBACK DescribeLog(nsHashKey *aKey, void *aData, void* closure) { nsILog* log = (nsILog*)aData; @@ -634,7 +634,7 @@ nsFileLogEventSink::Print(nsILog* log, const char* msg) nsAutoMonitor monitor(gLogMonitor); // do debug output first -#ifdef XP_PC +#ifdef XP_WIN OutputDebugString(msg); #elif defined(XP_MAC) {