made Visual Studio compatible with DEBUGLEVEL >= 2

This commit is contained in:
cyan4973
2018-06-20 09:45:02 -07:00
parent 8ad7ce1c2c
commit ae0b7ffa0a
8 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -37,7 +37,7 @@
#define ZSTD_RESIZE_SEQPOOL 0
/* ====== Debug ====== */
#if defined(DEBUGLEVEL) && (DEBUGLEVEL>=2)
#if defined(DEBUGLEVEL) && (DEBUGLEVEL>=2) && !defined(_MSC_VER)
# include <stdio.h>
# include <unistd.h>
@@ -47,7 +47,7 @@
unsigned debug_u; \
for (debug_u=0; debug_u<(n); debug_u++) \
RAWLOG(l, "%02X ", ((const unsigned char*)(p))[debug_u]); \
RAWLOG(l, " \n"); \
RAWLOG(l, " \n"); \
}
static unsigned long long GetCurrentClockTimeMicroseconds(void)