Fix iOS build.
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jun 2020 18:29:54 +0000 (18:29 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jun 2020 18:29:54 +0000 (18:29 +0000)
* src/libANGLE/renderer/gl/cgl/ContextCGL.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263172 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/ContextCGL.cpp

index 6b6f7be..9740236 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "libANGLE/renderer/gl/cgl/ContextCGL.h"
 
+#if defined(ANGLE_PLATFORM_MACOS) || defined(ANGLE_PLATFORM_MACCATALYST)
+
 #include "libANGLE/Context.h"
 #include "libANGLE/Display.h"
 #include "libANGLE/renderer/gl/cgl/DisplayCGL.h"
@@ -39,3 +41,5 @@ void ContextCGL::onDestroy(const gl::Context *context)
 }
 
 }  // namespace rx
+
+#endif  // defined(ANGLE_PLATFORM_MACOS) || defined(ANGLE_PLATFORM_MACCATALYST)