Fix 32-bit time_t compilation error on WIN64

This commit is contained in:
grspy
2020-05-19 20:49:25 +03:00
parent 1784a3437f
commit 8509d233d2
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
#define __STDC_FORMAT_MACROS
#define _USE_32BIT_TIME_T 1
#if !defined(_WIN64)
# define _USE_32BIT_TIME_T 1
#endif
#include <inttypes.h>
#include <stdio.h>
#include <stdbool.h>