Add .keep guard files in order to restore lost but empty directories we had with...
[reactos.git] / dll / win32 / ws2_32 / include / debug.h
index 369aa28..18b5373 100644 (file)
@@ -1,11 +1,12 @@
 /*
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS WinSock 2 DLL
- * FILE:        include/debug.h
+ * FILE:        dll/win32/ws2_32/include/debug.h
  * PURPOSE:     Debugging support macros
  * DEFINES:     DBG     - Enable debug output
  *              NASSERT - Disable assertions
  */
+
 #ifndef __DEBUG_H
 #define __DEBUG_H
 
@@ -27,8 +28,9 @@
 extern DWORD DebugTraceLevel;
 
 #define WS_DbgPrint(_t_, _x_) \
-    if (((DebugTraceLevel & NORMAL_MASK) >= _t_) || \
-        ((DebugTraceLevel & _t_) > NORMAL_MASK)) { \
+    if ((_t_ > NORMAL_MASK) \
+        ? (DebugTraceLevel & _t_) > NORMAL_MASK \
+        : (DebugTraceLevel & NORMAL_MASK) >= _t_) { \
         DbgPrint("(%hS:%d)(%hS) ", __FILE__, __LINE__, __FUNCTION__); \
                DbgPrint _x_; \
     }
@@ -62,5 +64,3 @@ extern DWORD DebugTraceLevel;
 #define CP CHECKPOINT
 
 #endif /* __DEBUG_H */
-
-/* EOF */