summaryrefslogtreecommitdiffstats
path: root/gfx/thebes
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-13 14:34:14 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-13 14:34:14 +0000
commitd73bfc3733cffedea7cf5ecf89e58ee81d4533a6 (patch)
tree477b711a6576e6b0965db0d545b2129bd6b5f9a3 /gfx/thebes
parenteb67f101a5a7c8b74502a590a4ce30e92653bd21 (diff)
downloadUXP-d73bfc3733cffedea7cf5ecf89e58ee81d4533a6.tar
UXP-d73bfc3733cffedea7cf5ecf89e58ee81d4533a6.tar.gz
UXP-d73bfc3733cffedea7cf5ecf89e58ee81d4533a6.tar.lz
UXP-d73bfc3733cffedea7cf5ecf89e58ee81d4533a6.tar.xz
UXP-d73bfc3733cffedea7cf5ecf89e58ee81d4533a6.zip
Issue #80 - Fix gfx/thebes Windows conditional
Diffstat (limited to 'gfx/thebes')
-rw-r--r--gfx/thebes/gfxFontInfoLoader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/thebes/gfxFontInfoLoader.cpp b/gfx/thebes/gfxFontInfoLoader.cpp
index c865f1abe..c9abef2ea 100644
--- a/gfx/thebes/gfxFontInfoLoader.cpp
+++ b/gfx/thebes/gfxFontInfoLoader.cpp
@@ -9,7 +9,9 @@
#include "nsThreadUtils.h" // for nsRunnable
#include "gfxPlatformFontList.h"
#include "mozilla/gfx/Logging.h"
+#ifdef XP_WIN
#include <d3d11.h>
+#endif
using namespace mozilla;
using services::GetObserverService;