summaryrefslogtreecommitdiff
path: root/get_uj.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2009-01-16 09:26:18 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2009-01-16 09:26:18 +0000
commitfdb28ce5102d0c0cdb549dcc78dba3370c787038 (patch)
treefd00a0aa0d9662f8c93632554fd852e1f8e3714a /get_uj.c
parentfcbbb26dac05f9e8cb0f14d006255b77dfe29747 (diff)
downloadmpfr-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.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/get_uj.c b/get_uj.c
index c9c2f2fa9..5ecda5577 100644
--- a/get_uj.c
+++ b/get_uj.c
@@ -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"