r= mscott@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
This commit is contained in:
mkaply%us.ibm.com 2000-04-03 23:13:14 +00:00
parent 9d520a1ba8
commit f74f9ef3c2
4 changed files with 14 additions and 8 deletions

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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))
{