X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Finternals%2F_PDCLIB_config.h;h=4dd5e3a125d4b07df9af0876f50549ef290116d6;hp=168053fb7d8b6f244cd12ea2126157c6cda6b4c6;hb=761281caf431d264d568aec797095ef2c28f3910;hpb=bdd913fd4a86f506a7fc42a04363c75fcb0ab093 diff --git a/platform/example/internals/_PDCLIB_config.h b/platform/example/internals/_PDCLIB_config.h index 168053f..4dd5e3a 100755 --- a/platform/example/internals/_PDCLIB_config.h +++ b/platform/example/internals/_PDCLIB_config.h @@ -145,8 +145,8 @@ struct _PDCLIB_lldiv_t /* Large enough an integer to hold all character codes of the largest supported locale. */ -#define _PDCLIB_wchar unsigned short -#define _PDCLIB_WCHAR USHRT +#define _PDCLIB_wchar unsigned int +#define _PDCLIB_WCHAR UINT /* (Signed) integer type capable of taking the (cast) value of a void *, and having the value cast back to void *, comparing equal to the original. @@ -170,6 +170,17 @@ struct _PDCLIB_imaxdiv_t _PDCLIB_intmax rem; }; +/* -------------------------------------------------------------------------- */ +/* Time types */ +/* -------------------------------------------------------------------------- */ + +#define _PDCLIB_time long + +#define _PDCLIB_clock long +#define _PDCLIB_CLOCKS_PER_SEC 1000000 + +#define _PDCLIB_TIME_UTC 1 + /* -------------------------------------------------------------------------- */ /* Floating Point */ /* -------------------------------------------------------------------------- */