Added #ifdef for Windows builds (#2431)
This commit is contained in:
@@ -467,13 +467,14 @@ struct ndpi_detection_module_struct {
|
||||
# ifdef WIN32
|
||||
/*
|
||||
* Already defined in ndpi_define.h
|
||||
*
|
||||
*/
|
||||
#ifndef NDPI_LOG_DBG
|
||||
# define NDPI_LOG(mod, ...) { (void)mod; }
|
||||
# define NDPI_LOG_ERR(mod, ...) { (void)mod; }
|
||||
# define NDPI_LOG_INFO(mod, ...) { (void)mod; }
|
||||
# define NDPI_LOG_DBG(mod, ...) { (void)mod; }
|
||||
# define NDPI_LOG_DBG2(mod, ...) { (void)mod; }
|
||||
*/
|
||||
#endif
|
||||
# else
|
||||
# define NDPI_LOG(proto, mod, log_level, args...) { /* printf(args); */ }
|
||||
# ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
||||
|
||||
Reference in New Issue
Block a user