diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-01-16 09:26:18 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-01-16 09:26:18 +0000 |
commit | fdb28ce5102d0c0cdb549dcc78dba3370c787038 (patch) | |
tree | fd00a0aa0d9662f8c93632554fd852e1f8e3714a /get_uj.c | |
parent | fcbbb26dac05f9e8cb0f14d006255b77dfe29747 (diff) | |
download | mpfr-fdb28ce5102d0c0cdb549dcc78dba3370c787038.tar.gz |
get_uj.c get_sj.c tests/tset_sj.c tests/tfits.c fits_intmax.c fits_uintmax.c set_uj.c set_sj.c: make #include-s for intmax_t uniform.
vasprintf.c: make #include-s for intmax_t uniform and use _MPFR_H_HAVE_INTMAX_T instead of HAVE_INTMAX_T.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5825 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_uj.c')
-rw-r--r-- | get_uj.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -31,11 +31,12 @@ MA 02110-1301, USA. */ # define __STDC_CONSTANT_MACROS #endif -#ifdef HAVE_STDINT_H -# include <stdint.h> -#endif -#ifdef HAVE_INTTYPES_H -# include <inttypes.h> +#if HAVE_INTTYPES_H +# include <inttypes.h> /* for intmax_t */ +#else +# if HAVE_STDINT_H +# include <stdint.h> +# endif #endif #include "mpfr-impl.h" |