diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2017-11-28 17:51:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 17:51:53 +0100 |
commit | 8547b50be7159e47003ba0f18c342d055bd1cb18 (patch) | |
tree | 7ae6f4b6ed1804d1ddf8996122b8797a21adcf7c /src/lib/protocols/yahoo.c | |
parent | 7090ef838ced77d05a1071fb93e3bc0d0fd9aa95 (diff) | |
parent | 950f5db3dd2fda8159f2ba280d66d44103810aef (diff) |
Merge pull request #493 from evengx/dev
Fixed ndpi_win32.h so that it compiles on MinGW+GCC
Diffstat (limited to 'src/lib/protocols/yahoo.c')
-rw-r--r-- | src/lib/protocols/yahoo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/protocols/yahoo.c b/src/lib/protocols/yahoo.c index 569fca940..a87195431 100644 --- a/src/lib/protocols/yahoo.c +++ b/src/lib/protocols/yahoo.c @@ -52,8 +52,10 @@ static u_int8_t ndpi_check_for_YmsgCommand(u_int16_t len, const u_int8_t * ptr) } -#ifndef WIN32 +#if !defined(WIN32) static inline +#elif defined(MINGW_GCC) +__mingw_forceinline static #else __forceinline static #endif |