Merge pull request #493 from evengx/dev

Fixed ndpi_win32.h so that it compiles on MinGW+GCC
This commit is contained in:
Luca Deri
2017-11-28 17:51:53 +01:00
committed by GitHub
12 changed files with 49 additions and 3 deletions
+4
View File
@@ -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