timegm cross platform

前端 未结 5 993
忘了有多久
忘了有多久 2020-12-06 16:55

I\'m using Visual Studio c++ Compiler ( 2010 ), but the library has different implementation of ANSI C and POSIX libraries function.

What is the difference betw

5条回答
  •  独厮守ぢ
    2020-12-06 17:35

    I use the following macro on Windows:

    #define timegm _mkgmtime
    

    as _mkgmtime does the same.

提交回复
热议问题