Fossil

Check-in [f2ce2f80]
Login

Check-in [f2ce2f80]

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

Overview
Comment:Workaround for MinGW bug #2062
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f2ce2f80f43edd4e68a4c03ce40bcb57f247e4a5
User & Date: jan.nijtmans 2013-09-26 06:58:59
Context
2013-09-26
07:17
Fossil compiled with MinGW version 4.0 didn't work on Windows XP any more, because it uses the 64-bit time API. This can be fixed by specifying -D_USE_32BIT_TIME_T. (It's the same in MSVC, but Microsoft does not support Windows XP in its development tools any more. Adding the same in Makefile.msc doesn't help anything on that, unfortunately) ... (check-in: a8214df3 user: jan.nijtmans tags: trunk)
06:58
Workaround for MinGW bug #2062 ... (check-in: f2ce2f80 user: jan.nijtmans tags: trunk)
2013-09-25
23:56
Add formal unloading support to the Tcl integration subsystem. This is necessary to prevent a deadlock while exiting the process when Tcl is loaded. Add runtime detection of the ability to directly invoke an objProc for a Tcl command. Support USE_TCL_STUBS define in the version information. ... (check-in: 6b58c67e user: mistachkin tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

538
539
540
541
542
543
544



545
546
547
548
549
550
551
/*
** This procedure runs first.
*/
#if defined(_WIN32) && !defined(BROKEN_MINGW_CMDLINE)
int _dowildcard = -1; /* This turns on command-line globbing in MinGW-w64 */
int wmain(int argc, wchar_t **argv)
#else



int main(int argc, char **argv)
#endif
{
  const char *zCmdName = "unknown";
  int idx;
  int rc;
  sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);







>
>
>







538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
/*
** This procedure runs first.
*/
#if defined(_WIN32) && !defined(BROKEN_MINGW_CMDLINE)
int _dowildcard = -1; /* This turns on command-line globbing in MinGW-w64 */
int wmain(int argc, wchar_t **argv)
#else
#if defined(_WIN32)
int _CRT_glob = 0x0001; /* See MinGW bug #2062 */
#endif
int main(int argc, char **argv)
#endif
{
  const char *zCmdName = "unknown";
  int idx;
  int rc;
  sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);