X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample_cygwin%2Finternals%2F_PDCLIB_config.h;h=32e0906ffece99c83977fd82890c1806c5ba347a;hb=b406087285dda97f2666a7f52f66b14582ed937b;hp=ee3fed3ece12c97c70a0341278fbaafd86da2858;hpb=0c316ee3b4dc0712797877f5dc0f4a789646154d;p=pdclib diff --git a/platform/example_cygwin/internals/_PDCLIB_config.h b/platform/example_cygwin/internals/_PDCLIB_config.h index ee3fed3..32e0906 100644 --- a/platform/example_cygwin/internals/_PDCLIB_config.h +++ b/platform/example_cygwin/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 */ /* -------------------------------------------------------------------------- */ @@ -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