Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3845565c3f4c30ed1472e0c8a820619fdd946604
Ticket: 3571241fffffffffffffffffffffffffffffffff
_USE_32BIT_TIME_T wrong for 32bit __MINGW32__
User & Date: nijtmans on 2013-05-20 03:57:29
Changes

  1. icomment:
    > The _USE_32BIT_TIME_T should be set based on the version of MSVCRT.DLL. In
    > other words on XP OS version the time structures for time_t and the stat
    > structures do not work with _USE_32BIT_TIME_T is defined.
    
    If you replace _USE_32BIT_TIME_T to _HAVE_32BIT_TIME_T in
    your description, then I quite agree: _HAVE_32BIT_TIME_T can
    be eliminated using MSVCRT_VERSION. If functions are missing
    from some dll version, appropriate inline wrapper functions can be
    defined which do the same in terms existing functions, this way it
    should be made to work in all situations.
    
    _USE_32BIT_TIME_T should be used to switch back time_t to
    32-bit, when the default is 64-bit. That's the switch that
    Microsoft made in VC2005, and that's how Microsoft is
    using it in it's own header files. I think that mingw
    should do the same.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"