Remove unnecessary windows.h include which was used to get InterlockedIncrement for threadsafe interfaces. I fixed the

implementation of threadsafe addref and release for windows to notrequire it so people no longer need to include windows.h whenever
you are using a threadsafe interface.
This commit is contained in:
mscott%netscape.com 1999-08-22 22:57:50 +00:00
Родитель 5f44addf6a
Коммит 15f43bccd9
2 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -20,11 +20,6 @@
#include "nsIMAPHostSessionList.h" #include "nsIMAPHostSessionList.h"
#include "nsIMAPBodyShell.h" #include "nsIMAPBodyShell.h"
#include "nsIMAPNamespace.h" #include "nsIMAPNamespace.h"
#ifdef XP_PC
#include <windows.h> // for InterlockedIncrement
#endif
#include "nsISupportsUtils.h" #include "nsISupportsUtils.h"
nsIMAPHostInfo::nsIMAPHostInfo(const char *hostName, const char *userName) nsIMAPHostInfo::nsIMAPHostInfo(const char *hostName, const char *userName)

Просмотреть файл

@ -30,10 +30,6 @@
#include "nsIMAPNamespace.h" #include "nsIMAPNamespace.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#if defined(XP_WIN)
#include <windows.h> // for InterlockedIncrement
#endif
nsImapEvent::nsImapEvent() nsImapEvent::nsImapEvent()
{ {
m_notifyCompletion = PR_FALSE; m_notifyCompletion = PR_FALSE;