mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 07:17:28 +00:00
[build] msquic: fix static MinGW linking
This commit is contained in:
@@ -111,6 +111,7 @@ list(APPEND MSQUIC_CLANG_CL_OPTIONS
|
||||
"/clang:-Wno-int-conversion"
|
||||
"/clang:-Wno-unused-function"
|
||||
"/clang:-Wno-incompatible-pointer-types"
|
||||
"/clang:-Wno-duplicate-decl-specifier"
|
||||
"/FI${MSQUIC_COMPAT_HEADER}")
|
||||
list(JOIN MSQUIC_CLANG_CL_OPTIONS " " MSQUIC_CLANG_CL_FLAGS)
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#define _H_LG_MSQUIC_MINGW_COMPAT_
|
||||
|
||||
#ifndef FORCEINLINE
|
||||
#define FORCEINLINE __inline__ __attribute__((__always_inline__))
|
||||
#define FORCEINLINE __forceinline
|
||||
#endif
|
||||
|
||||
#ifndef EXTERN_C_START
|
||||
@@ -43,6 +43,10 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifndef __cplusplus
|
||||
#define inline static __inline__
|
||||
#endif
|
||||
|
||||
#undef UNREFERENCED_PARAMETER
|
||||
#define UNREFERENCED_PARAMETER(parameter) ((void)(parameter))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user