/* first, before going to lengths about it. */
/* -------------------------------------------------------------------------- */
-/* Comment out (or delete) the line below if your 'char' type is unsigned. */
+/* Set to 0 if your 'char' type is unsigned. */
#define _PDCLIB_CHAR_SIGNED 1
/* Width of the integer types short, int, long, and long long, in bytes. */
/* 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.
_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 */
/* -------------------------------------------------------------------------- */