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
This commit is contained in:
mkaply%us.ibm.com 2000-10-27 18:30:16 +00:00
parent 7a7019e8ca
commit 5ed55b8e9a

View File

@ -30,7 +30,7 @@
#include "nsISupportsArray.h"
#include "nsIServiceManager.h"
#include "nsSpecialSystemDirectory.h"
#ifdef XP_PC
#ifdef XP_WIN
#include <windows.h>
#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)
{