diff options
author | Jacob Masen-Smith <smith.jacob@gmail.com> | 2017-11-23 20:40:43 -0800 |
---|---|---|
committer | Jacob Masen-Smith <smith.jacob@gmail.com> | 2017-11-23 20:40:43 -0800 |
commit | 950f5db3dd2fda8159f2ba280d66d44103810aef (patch) | |
tree | 34311e0bb17fb02b28beded70421db10fa533206 /src/lib/protocols/thunder.c | |
parent | 33e0be73f7d7b398b246933f67c643a467b7f8f2 (diff) |
Changed MinGW __forceinline strategy to something with less side effects
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 |