summaryrefslogtreecommitdiff
path: root/D139088.diff
blob: 91e99679592259444f9e79eabcdb3ae674370383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/gfx/wr/swgl/src/gl.cc b/gfx/wr/swgl/src/gl.cc
--- a/gfx/wr/swgl/src/gl.cc
+++ b/gfx/wr/swgl/src/gl.cc
@@ -82,7 +82,7 @@
 
 #define FALLTHROUGH [[fallthrough]]
 
-#ifdef MOZILLA_CLIENT
+#if defined(MOZILLA_CLIENT) && defined(MOZ_CLANG_PLUGIN)
 #  define IMPLICIT __attribute__((annotate("moz_implicit")))
 #else
 #  define IMPLICIT

bgstack15