Place comment(lib, *) pragmas under OPENSSL_MSVC_PRAGMA.
This clears the last of Android's build warnings from BoringSSL. These pragmas aren't actually no-ops, but it just means that MinGW consumers (i.e. just Android) need to explicitly list the dependency (which they do). There may be something to be said for removing those and having everyone list dependencies, but I don't really want to chase down every consumer's build files. Probably not worth the trouble. Change-Id: I8fcff954a6d5de9471f456db15c54a1b17cb937a Reviewed-on: https://boringssl-review.googlesource.com/11573 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
8404bdb9a6
commit
4fec04b484
@ -67,7 +67,7 @@ OPENSSL_MSVC_PRAGMA(warning(push, 3))
|
||||
#include <winsock2.h>
|
||||
OPENSSL_MSVC_PRAGMA(warning(pop))
|
||||
|
||||
#pragma comment(lib, "Ws2_32.lib")
|
||||
OPENSSL_MSVC_PRAGMA(comment(lib, "Ws2_32.lib"))
|
||||
#endif
|
||||
|
||||
#include "internal.h"
|
||||
|
@ -33,7 +33,7 @@ OPENSSL_MSVC_PRAGMA(warning(push, 3))
|
||||
#include <ws2tcpip.h>
|
||||
OPENSSL_MSVC_PRAGMA(warning(pop))
|
||||
|
||||
#pragma comment(lib, "Ws2_32.lib")
|
||||
OPENSSL_MSVC_PRAGMA(comment(lib, "Ws2_32.lib"))
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -40,7 +40,7 @@ OPENSSL_MSVC_PRAGMA(warning(push, 3))
|
||||
OPENSSL_MSVC_PRAGMA(warning(pop))
|
||||
|
||||
typedef int ssize_t;
|
||||
#pragma comment(lib, "Ws2_32.lib")
|
||||
OPENSSL_MSVC_PRAGMA(comment(lib, "Ws2_32.lib"))
|
||||
#endif
|
||||
|
||||
#include <openssl/err.h>
|
||||
|
Loading…
Reference in New Issue
Block a user