fixed mingw builds for 32-bit WindowsXP

This commit is contained in:
Martins Mozeiko
2017-10-07 21:05:03 -07:00
parent 25b91a03b2
commit 42f2debed6
+6 -1
View File
@@ -1,4 +1,9 @@
#define _CRT_SECURE_NO_DEPRECATE
#if defined(__MINGW32__) && !defined(__x86_64__)
# define _USE_32BIT_TIME_T
# define __CRT__NO_INLINE
#elif defined(_MSC_VER)
# define _CRT_SECURE_NO_DEPRECATE
#endif
#include "pkg2zip_zip.h"
#include "pkg2zip_utils.h"