From 0be2bce76485691aa8cc640f573aa8c6bcafe078 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Sun, 1 Oct 2023 16:18:39 +0800 Subject: [PATCH] add win32 ifdef to pragma --- ios/src/FilamentViewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/src/FilamentViewer.cpp b/ios/src/FilamentViewer.cpp index f7ca9cec..53bb09f8 100644 --- a/ios/src/FilamentViewer.cpp +++ b/ios/src/FilamentViewer.cpp @@ -2,7 +2,9 @@ #include "TargetConditionals.h" #endif +#ifdef _WIN32 #pragma comment(lib, "Ws2_32.lib") +#endif /* * Copyright (C) 2019 The Android Open Source Project