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-20 13:54:04 +0000
commit9c006089e10285486fc9b71f1f128202f584fca5 (patch)
tree242d4547e1d7bf73573c6404f7547e2d91a48b73 /gfx/thebes
parentc3fc87a904fb3445f7e33bf6521a6de4d29e9832 (diff)
downloadUXP-9c006089e10285486fc9b71f1f128202f584fca5.tar
UXP-9c006089e10285486fc9b71f1f128202f584fca5.tar.gz
UXP-9c006089e10285486fc9b71f1f128202f584fca5.tar.lz
UXP-9c006089e10285486fc9b71f1f128202f584fca5.tar.xz
UXP-9c006089e10285486fc9b71f1f128202f584fca5.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;