]> pd.if.org Git - pdclib/blobdiff - platform/example_cygwin/internals/_PDCLIB_config.h
tmpfile() implementation now based on /proc/sys/kernel/random/uuid.
[pdclib] / platform / example_cygwin / internals / _PDCLIB_config.h
index fce58b60dbf3b5ac2c5c169b06fbb4b2bf6c1c8a..32e0906ffece99c83977fd82890c1806c5ba347a 100644 (file)
@@ -145,6 +145,15 @@ struct _PDCLIB_lldiv_t
 /* You are also required to state the literal suffix for the intmax type      */
 #define _PDCLIB_INTMAX_LITERAL ll
 
+/* <inttypes.h> defines imaxdiv(), which is equivalent to the div() function  */
+/* family (see further above) with intmax_t as basis.                         */
+
+struct _PDCLIB_imaxdiv_t
+{
+    _PDCLIB_intmax quot;
+    _PDCLIB_intmax rem;
+};
+
 /* -------------------------------------------------------------------------- */
 /* Floating Point                                                             */
 /* -------------------------------------------------------------------------- */
@@ -249,9 +258,6 @@ typedef int _PDCLIB_fd_t;
 /* Length of the longest filename the implementation guarantees to support. */
 #define _PDCLIB_FILENAME_MAX 128
 
-/* Buffer size for tmpnam(). */
-#define _PDCLIB_L_tmpnam 100
-
 /* Number of distinct file names that can be generated by tmpnam(). */
 #define _PDCLIB_TMP_MAX 50