1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Use the modern MinGW major version macro, not the deprecated one.

FossilOrigin-Name: 057c16ee9786efcad6372a29b02d743ff3d628ff
This commit is contained in:
mistachkin
2014-02-16 19:20:00 +00:00
parent a7b3b63524
commit 65acf373c9
3 changed files with 8 additions and 11 deletions

View File

@@ -75,7 +75,7 @@
*/
#if !defined(_USE_32BIT_TIME_T) && !defined(_USE_64BIT_TIME_T) && \
defined(_WIN32) && !defined(_WIN64) && \
defined(__MINGW32_MAJOR_VERSION) && __MINGW32_MAJOR_VERSION >= 4 && \
defined(__MINGW_MAJOR_VERSION) && __MINGW_MAJOR_VERSION >= 4 && \
defined(__MSVCRT__)
# define _USE_32BIT_TIME_T
#endif