]> pd.if.org Git - pdclib/blobdiff - platform/example/internals/_PDCLIB_config.h
Using code from tzcode.
[pdclib] / platform / example / internals / _PDCLIB_config.h
index 13600b41148c307dc1ada973bca11a071c61da90..fe23663244a3c29ebace87258ed06a69e53452b1 100755 (executable)
@@ -170,6 +170,19 @@ struct _PDCLIB_imaxdiv_t
     _PDCLIB_intmax rem;
 };
 
+/* -------------------------------------------------------------------------- */
+/* Time types                                                                 */
+/* -------------------------------------------------------------------------- */
+
+/* See <time.h> for a couple of comments on these types and their semantics. */
+
+#define _PDCLIB_time long
+
+#define _PDCLIB_clock long
+#define _PDCLIB_CLOCKS_PER_SEC 1000000
+
+#define _PDCLIB_TIME_UTC 1
+
 /* -------------------------------------------------------------------------- */
 /* Floating Point                                                             */
 /* -------------------------------------------------------------------------- */