diff options
| author | Paul Eggert | 2023-02-04 14:45:11 -0800 |
|---|---|---|
| committer | Paul Eggert | 2023-02-04 15:14:16 -0800 |
| commit | 04d97e76a96854a9a9f4778cb1202a87537731de (patch) | |
| tree | 9c70da51ec099c2c1c0ca95dbace29190e563f8a /lib/inttypes.in.h | |
| parent | 7e1c7db1cb5a33a66115bb767224bdc79a257266 (diff) | |
| download | emacs-04d97e76a96854a9a9f4778cb1202a87537731de.tar.gz emacs-04d97e76a96854a9a9f4778cb1202a87537731de.zip | |
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/inttypes.in.h')
| -rw-r--r-- | lib/inttypes.in.h | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/lib/inttypes.in.h b/lib/inttypes.in.h index 50a2bbfcda2..5b7ef12dc7e 100644 --- a/lib/inttypes.in.h +++ b/lib/inttypes.in.h | |||
| @@ -903,8 +903,21 @@ extern "C" { | |||
| 903 | #endif | 903 | #endif |
| 904 | 904 | ||
| 905 | #if @GNULIB_IMAXABS@ | 905 | #if @GNULIB_IMAXABS@ |
| 906 | # if !@HAVE_DECL_IMAXABS@ | 906 | # if @REPLACE_IMAXABS@ |
| 907 | extern intmax_t imaxabs (intmax_t); | 907 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 908 | # undef imaxabs | ||
| 909 | # define imaxabs rpl_imaxabs | ||
| 910 | # endif | ||
| 911 | _GL_FUNCDECL_RPL (imaxabs, intmax_t, (intmax_t x)); | ||
| 912 | _GL_CXXALIAS_RPL (imaxabs, intmax_t, (intmax_t x)); | ||
| 913 | # else | ||
| 914 | # if !@HAVE_DECL_IMAXABS@ | ||
| 915 | _GL_FUNCDECL_SYS (imaxabs, intmax_t, (intmax_t x)); | ||
| 916 | # endif | ||
| 917 | _GL_CXXALIAS_SYS (imaxabs, intmax_t, (intmax_t x)); | ||
| 918 | # endif | ||
| 919 | # if __GLIBC__ >= 2 | ||
| 920 | _GL_CXXALIASWARN (imaxabs); | ||
| 908 | # endif | 921 | # endif |
| 909 | #elif defined GNULIB_POSIXCHECK | 922 | #elif defined GNULIB_POSIXCHECK |
| 910 | # undef imaxabs | 923 | # undef imaxabs |
| @@ -921,8 +934,21 @@ typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; | |||
| 921 | # define GNULIB_defined_imaxdiv_t 1 | 934 | # define GNULIB_defined_imaxdiv_t 1 |
| 922 | # endif | 935 | # endif |
| 923 | # endif | 936 | # endif |
| 924 | # if !@HAVE_DECL_IMAXDIV@ | 937 | # if @REPLACE_IMAXDIV@ |
| 925 | extern imaxdiv_t imaxdiv (intmax_t, intmax_t); | 938 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 939 | # undef imaxdiv | ||
| 940 | # define imaxdiv rpl_imaxdiv | ||
| 941 | # endif | ||
| 942 | _GL_FUNCDECL_RPL (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom)); | ||
| 943 | _GL_CXXALIAS_RPL (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom)); | ||
| 944 | # else | ||
| 945 | # if !@HAVE_DECL_IMAXDIV@ | ||
| 946 | _GL_FUNCDECL_SYS (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom)); | ||
| 947 | # endif | ||
| 948 | _GL_CXXALIAS_SYS (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom)); | ||
| 949 | # endif | ||
| 950 | # if __GLIBC__ >= 2 | ||
| 951 | _GL_CXXALIASWARN (imaxdiv); | ||
| 926 | # endif | 952 | # endif |
| 927 | #elif defined GNULIB_POSIXCHECK | 953 | #elif defined GNULIB_POSIXCHECK |
| 928 | # undef imaxdiv | 954 | # undef imaxdiv |