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:
Daniel Holbert 2016-10-27 21:01:14 -07:00
Родитель b6eec64324
Коммит c51a459e9c
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -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;