aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index 988e26ac9..358138f70 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -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