Edit

kc3-lang/libressl/include/compat/time.h

Branch :

  • Browse

    Commit

  • Author : Brent Cook
    Date : 2015-07-21 12:04:07
    Hash : cbdc8ca8
    Message : tighten up compat include paths, fix glibc compatibility

  • include/compat/time.h
  • /*
     * Public domain
     * sys/time.h compatibility shim
     */
    
    #ifdef _MSC_VER
    #include <../include/time.h>
    #define gmtime_r(tp, tm) ((gmtime_s((tm), (tp)) == 0) ? (tm) : NULL)
    #else
    #include_next <time.h>
    #endif