/ Check-in [057c16ee]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use the modern MinGW major version macro, not the deprecated one.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mingw4x
Files: files | file ages | folders
SHA1:057c16ee9786efcad6372a29b02d743ff3d628ff
User & Date: mistachkin 2014-02-16 19:20:00
Context
2014-03-06
00:28
Better support for MinGW 4.x. check-in: 170e0585 user: mistachkin tags: trunk
2014-02-16
19:20
Use the modern MinGW major version macro, not the deprecated one. Closed-Leaf check-in: 057c16ee user: mistachkin tags: mingw4x
2014-02-14
23:35
Better support for MinGW 4.x. check-in: e1472307 user: mistachkin tags: mingw4x
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
** For MinGW version 4.x (and higher), check to see if the _USE_32BIT_TIME_T
** define is required to maintain binary compatibility with the MSVC runtime
** library in use (e.g. for Windows XP).
*/
#if !defined(_USE_32BIT_TIME_T) && !defined(_USE_64BIT_TIME_T) && \
    defined(_WIN32) && !defined(_WIN64) && \
    defined(__MINGW32_MAJOR_VERSION) && __MINGW32_MAJOR_VERSION >= 4 && \
    defined(__MSVCRT__)
# define _USE_32BIT_TIME_T
#endif

/*
** Include the configuration header output by 'configure' if we're using the
** autoconf-based build







|







71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
** For MinGW version 4.x (and higher), check to see if the _USE_32BIT_TIME_T
** define is required to maintain binary compatibility with the MSVC runtime
** library in use (e.g. for Windows XP).
*/
#if !defined(_USE_32BIT_TIME_T) && !defined(_USE_64BIT_TIME_T) && \
    defined(_WIN32) && !defined(_WIN64) && \
    defined(__MINGW_MAJOR_VERSION) && __MINGW_MAJOR_VERSION >= 4 && \
    defined(__MSVCRT__)
# define _USE_32BIT_TIME_T
#endif

/*
** Include the configuration header output by 'configure' if we're using the
** autoconf-based build