X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample_64%2Finternals%2F_PDCLIB_config.h;h=65abc89ea192d1618d50fb4186a47bacfe259e6e;hb=fb5b6d3c848cdc5c299e57801a3ea6b80a2ea649;hp=81fdb09b4d4f4ae929be6abe6a0cdee61466a7f3;hpb=eb9211f1090ef05e8490a6b35acbe16c9ed9f89a;p=pdclib.old diff --git a/platform/example_64/internals/_PDCLIB_config.h b/platform/example_64/internals/_PDCLIB_config.h index 81fdb09..65abc89 100644 --- a/platform/example_64/internals/_PDCLIB_config.h +++ b/platform/example_64/internals/_PDCLIB_config.h @@ -141,10 +141,19 @@ struct _PDCLIB_lldiv_t /* Largest supported integer type. Implementation note: see _PDCLIB_atomax(). */ #define _PDCLIB_intmax long long int -#define _PDCLIB_INTMAX LLINT +#define _PDCLIB_INTMAX LLONG /* You are also required to state the literal suffix for the intmax type */ #define _PDCLIB_INTMAX_LITERAL ll +/* 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 */ /* -------------------------------------------------------------------------- */