display a warning message when using C90 clock_t for MT speed measurements.

This commit is contained in:
Yann Collet
2022-06-19 11:38:06 -07:00
parent b33ef91694
commit 574ecbb0fc
2 changed files with 9 additions and 1 deletions
+1
View File
@@ -65,6 +65,7 @@ extern "C" {
#else /* relies on standard C90 (note : clock_t measurements can be wrong when using multi-threading) */
#define UTIL_TIME_USES_C90_CLOCK
typedef clock_t UTIL_time_t;
#define UTIL_TIME_INITIALIZER 0