зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5f44addf6a
Коммит
15f43bccd9
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче