X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Ftime.h;h=41075dbc81c9f71d090db9e878ed9041d24945f1;hp=57db23032f381d11bdaf4e0045466d2aba9bfa70;hb=76ee46321244f74eee3b5df0800ffdee0e8c3c37;hpb=639bad513ab9399ed9a8c588a476a10dbe6c9478 diff --git a/includes/time.h b/includes/time.h index 57db230..41075db 100644 --- a/includes/time.h +++ b/includes/time.h @@ -17,6 +17,8 @@ typedef _PDCLIB_size_t size_t; typedef _PDCLIB_time_t time_t; typedef _PDCLIB_clock_t clock_t; +#define TIME_UTC _PDCLIB_TIME_UTC + #ifndef _PDCLIB_STRUCT_TIMESPEC_DEFINED #define _PDCLIB_STRUCT_TIMESPEC_DEFINED _PDCLIB_DEFINE_STRUCT_TIMESPEC() @@ -27,7 +29,8 @@ _PDCLIB_DEFINE_STRUCT_TIMESPEC() _PDCLIB_DEFINE_STRUCT_TM() #endif -time_t time(time_t* t) _PDCLIB_nothrow; +time_t time( time_t* t ) _PDCLIB_nothrow; +int timespec_get( struct timespec *ts, int base ) _PDCLIB_nothrow; _PDCLIB_END_EXTERN_C #endif