mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 942217 - Undefine LoadImage to prevent naming conflict on Windows. r=ehsan
This commit is contained in:
parent
f07cba6cad
commit
4db9ead793
@ -27,6 +27,11 @@
|
||||
#include "nsMathUtils.h"
|
||||
#include "Units.h"
|
||||
|
||||
#if defined(XP_WIN)
|
||||
// Undefine LoadImage to prevent naming conflict with Windows.
|
||||
#undef LoadImage
|
||||
#endif
|
||||
|
||||
class imgICache;
|
||||
class imgIContainer;
|
||||
class imgINotificationObserver;
|
||||
|
@ -48,6 +48,11 @@
|
||||
#include "mozAutoDocUpdate.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
||||
#if defined(XP_WIN)
|
||||
// Undefine LoadImage to prevent naming conflict with Windows.
|
||||
#undef LoadImage
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
#ifdef DEBUG_chb
|
||||
|
Loading…
Reference in New Issue
Block a user