mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
# 33859
r= mscott@netscape.com OS/2 changes for Mozilla - add #ifdef, change #ifdef
This commit is contained in:
parent
9d520a1ba8
commit
f74f9ef3c2
@ -27,7 +27,7 @@
|
||||
#include "nsMsgCompCID.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
@ -52,8 +52,13 @@
|
||||
#include "nsFileStream.h"
|
||||
|
||||
#ifdef XP_PC
|
||||
#ifdef XP_OS2
|
||||
#define XPCOM_DLL "xpcom.dll"
|
||||
#define PREF_DLL "xppref.dll"
|
||||
#else
|
||||
#define XPCOM_DLL "xpcom32.dll"
|
||||
#define PREF_DLL "xppref32.dll"
|
||||
#endif
|
||||
#define APPSHELL_DLL "appshell.dll"
|
||||
#define MIME_DLL "mime.dll"
|
||||
#else
|
||||
@ -441,7 +446,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
printf("Sitting in an event processing loop ...Hit Cntl-C to exit...");
|
||||
while (keepOnRunning)
|
||||
{
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "nsMsgCompCID.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
@ -163,7 +163,7 @@ int main(int argc, char *argv[])
|
||||
pMsgSendLater->SendUnsentMessages(identity, nsnull);
|
||||
}
|
||||
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
printf("Sitting in an event processing loop ...Hit Cntl-C to exit...");
|
||||
while (1)
|
||||
{
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "nsIIOService.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
@ -425,7 +425,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
printf("Sitting in an event processing loop ...Hit Cntl-C to exit...");
|
||||
while (keepOnRunning)
|
||||
{
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
@ -252,7 +252,8 @@ nsresult nsSmtpTestDriver::RunDriver()
|
||||
m_eventQueue->ProcessPendingEvents();
|
||||
|
||||
#endif
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
|
||||
MSG msg;
|
||||
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user