зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1313560: Undefine windows.h's LoadImage macro, to avoid bustage in nsImageFrame.cpp. r=dmajor
windows.h isn't directly included by nsImageFrame.cpp, but it may be pulled in via unified builds. Landing on a CLOSED TREE to fix bustage. MozReview-Commit-ID: 7QiM57dpYAd
This commit is contained in:
Родитель
b6eec64324
Коммит
c51a459e9c
|
@ -79,6 +79,11 @@
|
|||
|
||||
#include "mozilla/dom/Link.h"
|
||||
|
||||
// Undo the windows.h damage
|
||||
#if defined(XP_WIN) && defined(LoadImage)
|
||||
#undef LoadImage
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
using namespace mozilla::gfx;
|
||||
|
|
Загрузка…
Ссылка в новой задаче