win-capture: Use inline define with VC only
mingw already supports the regular inline keyword in C; VC does not.
This commit is contained in:
parent
12a000cae5
commit
372a23de68
@ -6,7 +6,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#else
|
||||
#ifndef inline
|
||||
#if defined(_MSC_VER) && !defined(inline)
|
||||
#define inline __inline
|
||||
#endif
|
||||
#endif
|
||||
|
@ -9,7 +9,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#else
|
||||
#ifndef inline
|
||||
#if defined(_MSC_VER) && !defined(inline)
|
||||
#define inline __inline
|
||||
#endif
|
||||
#endif
|
||||
|
@ -11,7 +11,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#else
|
||||
#ifndef inline
|
||||
#if defined(_MSC_VER) && !defined(inline)
|
||||
#define inline __inline
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user