Bug 824459 - Thunderbird build is broken after Bug 807678 (Winsock2.h collision, and function name PostMessage collision). r=Standard8 CLOSED TREE
This commit is contained in:
Родитель
e1d0486804
Коммит
c4c4ad36ed
|
@ -8,12 +8,12 @@
|
||||||
#include "nsIServiceManager.h"
|
#include "nsIServiceManager.h"
|
||||||
#include "nsStringGlue.h"
|
#include "nsStringGlue.h"
|
||||||
#include "nsIComponentManager.h"
|
#include "nsIComponentManager.h"
|
||||||
|
#include "nsIDNSRecord.h"
|
||||||
#include "nsLDAPConnection.h"
|
#include "nsLDAPConnection.h"
|
||||||
#include "nsLDAPMessage.h"
|
#include "nsLDAPMessage.h"
|
||||||
#include "nsThreadUtils.h"
|
#include "nsThreadUtils.h"
|
||||||
#include "nsIConsoleService.h"
|
#include "nsIConsoleService.h"
|
||||||
#include "nsIDNSService.h"
|
#include "nsIDNSService.h"
|
||||||
#include "nsIDNSRecord.h"
|
|
||||||
#include "nsIRequestObserver.h"
|
#include "nsIRequestObserver.h"
|
||||||
#include "nsError.h"
|
#include "nsError.h"
|
||||||
#include "nsLDAPOperation.h"
|
#include "nsLDAPOperation.h"
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
#include "nsAlgorithm.h"
|
#include "nsAlgorithm.h"
|
||||||
#include "mozilla/Services.h"
|
#include "mozilla/Services.h"
|
||||||
|
|
||||||
|
#undef PostMessage // avoid to collision with WinUser.h
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
|
||||||
NS_IMPL_THREADSAFE_ADDREF(nsMsgProtocol)
|
NS_IMPL_THREADSAFE_ADDREF(nsMsgProtocol)
|
||||||
|
|
|
@ -50,6 +50,8 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#endif /* !XP_UNIX */
|
#endif /* !XP_UNIX */
|
||||||
|
|
||||||
|
#undef PostMessage // avoid to collision with WinUser.h
|
||||||
|
|
||||||
static PRLogModuleInfo *SMTPLogModule = nullptr;
|
static PRLogModuleInfo *SMTPLogModule = nullptr;
|
||||||
|
|
||||||
/* the output_buffer_size must be larger than the largest possible line
|
/* the output_buffer_size must be larger than the largest possible line
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
|
|
||||||
#undef GetPort // XXX Windows!
|
#undef GetPort // XXX Windows!
|
||||||
#undef SetPort // XXX Windows!
|
#undef SetPort // XXX Windows!
|
||||||
|
#undef PostMessage // avoid to collision with WinUser.h
|
||||||
|
|
||||||
#define PREF_NEWS_CANCEL_CONFIRM "news.cancel.confirm"
|
#define PREF_NEWS_CANCEL_CONFIRM "news.cancel.confirm"
|
||||||
#define PREF_NEWS_CANCEL_ALERT_ON_SUCCESS "news.cancel.alert_on_success"
|
#define PREF_NEWS_CANCEL_ALERT_ON_SUCCESS "news.cancel.alert_on_success"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче