1. 26 9月, 2012 5 次提交
  2. 24 9月, 2012 1 次提交
    • S
      w32: Add implementation of gmtime_r, localtime_r · d3e8f957
      Stefan Weil 提交于
      Those functions are missing in MinGW.
      
      Some versions of MinGW-w64 include defines for gmtime_r and localtime_r.
      Older versions of these macros are buggy (they return a pointer to a
      static variable), therefore we don't want them. Newer versions are
      similar to the code used here, but without the memset.
      
      The implementation which is used here is not strictly reentrant,
      but sufficiently good for QEMU on w32 or w64.
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      [blauwirbel@gmail.com: added comment about locking]
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      d3e8f957
  3. 23 9月, 2012 13 次提交
  4. 22 9月, 2012 21 次提交