Changed MinGW __forceinline strategy to something with less side effects

This commit is contained in:
Jacob Masen-Smith 2017-11-23 20:40:43 -08:00
parent 33e0be73f7
commit 950f5db3dd
12 changed files with 42 additions and 7 deletions

View file

@ -148,6 +148,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
@ -162,6 +164,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