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/thunder.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/thunder.c')
-rw-r--r-- | src/lib/protocols/thunder.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/protocols/thunder.c b/src/lib/protocols/thunder.c index f0198cdda..0a99282fc 100644 --- a/src/lib/protocols/thunder.c +++ b/src/lib/protocols/thunder.c @@ -47,6 +47,8 @@ static void ndpi_int_thunder_add_connection(struct ndpi_detection_module_struct #if !defined(WIN32) static inline +#elif defined(MINGW_GCC) +__mingw_forceinline static #else __forceinline static #endif @@ -81,6 +83,8 @@ void ndpi_int_search_thunder_udp(struct ndpi_detection_module_struct #if !defined(WIN32) static inline +#elif defined(MINGW_GCC) +__mingw_forceinline static #else __forceinline static #endif @@ -139,6 +143,8 @@ void ndpi_int_search_thunder_tcp(struct ndpi_detection_module_struct #if !defined(WIN32) static inline +#elif defined(MINGW_GCC) +__mingw_forceinline static #else __forceinline static #endif |