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 not require 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:54:05 +00:00
Родитель 1a2472bcc8
Коммит 3a542daaff
2 изменённых файлов: 0 добавлений и 9 удалений

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

@ -24,11 +24,6 @@
#include "nsIMessage.h" #include "nsIMessage.h"
#include "nsIMsgFolder.h" #include "nsIMsgFolder.h"
#ifdef XP_PC
#include <windows.h>
#endif
typedef enum _nsCopyRequestType typedef enum _nsCopyRequestType
{ {
nsCopyMessagesType = 0x0, nsCopyMessagesType = 0x0,

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

@ -19,10 +19,6 @@
#include "msgCore.h" // for pre-compiled headers... #include "msgCore.h" // for pre-compiled headers...
#include "nsUrlListenerManager.h" #include "nsUrlListenerManager.h"
#ifdef XP_PC
#include <windows.h> // for InterlockedIncrement
#endif
nsUrlListenerManager::nsUrlListenerManager() : nsUrlListenerManager::nsUrlListenerManager() :
mRefCnt(0), mRefCnt(0),
m_listeners(nsnull) m_listeners(nsnull)