зеркало из https://github.com/mozilla/gecko-dev.git
Bug 942217 - Undefine LoadImage to prevent naming conflict on Windows. r=ehsan
This commit is contained in:
Родитель
f07cba6cad
Коммит
4db9ead793
|
@ -27,6 +27,11 @@
|
||||||
#include "nsMathUtils.h"
|
#include "nsMathUtils.h"
|
||||||
#include "Units.h"
|
#include "Units.h"
|
||||||
|
|
||||||
|
#if defined(XP_WIN)
|
||||||
|
// Undefine LoadImage to prevent naming conflict with Windows.
|
||||||
|
#undef LoadImage
|
||||||
|
#endif
|
||||||
|
|
||||||
class imgICache;
|
class imgICache;
|
||||||
class imgIContainer;
|
class imgIContainer;
|
||||||
class imgINotificationObserver;
|
class imgINotificationObserver;
|
||||||
|
|
|
@ -48,6 +48,11 @@
|
||||||
#include "mozAutoDocUpdate.h"
|
#include "mozAutoDocUpdate.h"
|
||||||
#include "mozilla/dom/Element.h"
|
#include "mozilla/dom/Element.h"
|
||||||
|
|
||||||
|
#if defined(XP_WIN)
|
||||||
|
// Undefine LoadImage to prevent naming conflict with Windows.
|
||||||
|
#undef LoadImage
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
|
||||||
#ifdef DEBUG_chb
|
#ifdef DEBUG_chb
|
||||||
|
|
Загрузка…
Ссылка в новой задаче