updated util's time for Windows compatibility
Correctly measures time on Posix systems when running with Multi-threading Todo : check Windows measurement under multi-threading
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
* This file will hold wrapper for systems, which do not support pthreads
|
||||
*/
|
||||
|
||||
/* ====== Compiler specifics ====== */
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable : 4206) /* disable: C4206: translation unit is empty (when ZSTD_MULTITHREAD is not defined) */
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(ZSTD_MULTITHREAD) && defined(_WIN32)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user