add win32 ifdef to pragma

This commit is contained in:
Nick Fisher
2023-10-01 16:18:39 +08:00
parent 7463318a62
commit 0be2bce764

View File

@@ -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