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/rtp.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/rtp.c')
-rw-r--r-- | src/lib/protocols/rtp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/protocols/rtp.c b/src/lib/protocols/rtp.c index 1271510ff..3409c35f2 100644 --- a/src/lib/protocols/rtp.c +++ b/src/lib/protocols/rtp.c @@ -150,6 +150,8 @@ static void ndpi_int_rtp_add_connection(struct ndpi_detection_module_struct #if !defined(WIN32) static inline +#elif defined(MINGW_GCC) +__mingw_forceinline static #else __forceinline static #endif @@ -164,6 +166,8 @@ void init_seq(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow #if !defined(WIN32) static inline +#elif defined(MINGW_GCC) +__mingw_forceinline static #else __forceinline static #endif |