X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Finternals%2F_PDCLIB_config.h;h=41fe9e0a394bcb757004000824fb636acd0ffaf1;hb=b0ae5d16c993045fd9ec5e7866962164bf9934fd;hp=13600b41148c307dc1ada973bca11a071c61da90;hpb=642e624903e01e2e3809f85f65cfb22e967e122c;p=pdclib diff --git a/platform/example/internals/_PDCLIB_config.h b/platform/example/internals/_PDCLIB_config.h index 13600b4..41fe9e0 100755 --- a/platform/example/internals/_PDCLIB_config.h +++ b/platform/example/internals/_PDCLIB_config.h @@ -170,6 +170,20 @@ struct _PDCLIB_imaxdiv_t _PDCLIB_intmax rem; }; +/* -------------------------------------------------------------------------- */ +/* Time types */ +/* -------------------------------------------------------------------------- */ + +/* See for a couple of comments on these types and their semantics. */ + +/* If you change this type to something exotic, check time/difftime.c */ +#define _PDCLIB_time long + +#define _PDCLIB_clock long +#define _PDCLIB_CLOCKS_PER_SEC 1000000 + +#define _PDCLIB_TIME_UTC 1 + /* -------------------------------------------------------------------------- */ /* Floating Point */ /* -------------------------------------------------------------------------- */