]> pd.if.org Git - pdclib/commitdiff
Added imaxdiv_t (for inttypes.h).
authorsolar <unknown>
Sat, 15 May 2010 00:34:40 +0000 (00:34 +0000)
committersolar <unknown>
Sat, 15 May 2010 00:34:40 +0000 (00:34 +0000)
platform/example_64/internals/_PDCLIB_config.h
platform/example_cygwin/internals/_PDCLIB_config.h

index 319e5dedf2d6bf82957ec6cefdccbd57f647397c..65abc89ea192d1618d50fb4186a47bacfe259e6e 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                                                             */
 /* -------------------------------------------------------------------------- */
index fce58b60dbf3b5ac2c5c169b06fbb4b2bf6c1c8a..78397be438e54a3439334f8d94904ba4bf00aa29 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                                                             */
 /* -------------------------------------------------------------------------- */