зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7a7019e8ca
Коммит
5ed55b8e9a
|
@ -30,7 +30,7 @@
|
||||||
#include "nsISupportsArray.h"
|
#include "nsISupportsArray.h"
|
||||||
#include "nsIServiceManager.h"
|
#include "nsIServiceManager.h"
|
||||||
#include "nsSpecialSystemDirectory.h"
|
#include "nsSpecialSystemDirectory.h"
|
||||||
#ifdef XP_PC
|
#ifdef XP_WIN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -87,14 +87,14 @@ nsLoggingService::Release(void)
|
||||||
return mRefCnt;
|
return mRefCnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void*
|
static void* PR_CALLBACK
|
||||||
levelClone(nsHashKey *aKey, void *aData, void* closure)
|
levelClone(nsHashKey *aKey, void *aData, void* closure)
|
||||||
{
|
{
|
||||||
PRUint32 level = (PRUint32)aData;
|
PRUint32 level = (PRUint32)aData;
|
||||||
return (void*)level;
|
return (void*)level;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PRBool
|
static PRBool PR_CALLBACK
|
||||||
levelDestroy(nsHashKey *aKey, void *aData, void* closure)
|
levelDestroy(nsHashKey *aKey, void *aData, void* closure)
|
||||||
{
|
{
|
||||||
return PR_TRUE;
|
return PR_TRUE;
|
||||||
|
@ -319,7 +319,7 @@ NS_GetLog(const char* name, PRUint32 controlFlags)
|
||||||
return log;
|
return log;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PRBool
|
static PRBool PR_CALLBACK
|
||||||
DescribeLog(nsHashKey *aKey, void *aData, void* closure)
|
DescribeLog(nsHashKey *aKey, void *aData, void* closure)
|
||||||
{
|
{
|
||||||
nsILog* log = (nsILog*)aData;
|
nsILog* log = (nsILog*)aData;
|
||||||
|
@ -634,7 +634,7 @@ nsFileLogEventSink::Print(nsILog* log, const char* msg)
|
||||||
nsAutoMonitor monitor(gLogMonitor);
|
nsAutoMonitor monitor(gLogMonitor);
|
||||||
|
|
||||||
// do debug output first
|
// do debug output first
|
||||||
#ifdef XP_PC
|
#ifdef XP_WIN
|
||||||
OutputDebugString(msg);
|
OutputDebugString(msg);
|
||||||
#elif defined(XP_MAC)
|
#elif defined(XP_MAC)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче