diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-05-13 15:58:57 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-05-13 15:58:57 +0000 |
commit | e316200182e0b2c7d5c84c9c6e019321b5bfd8d0 (patch) | |
tree | 229a6e1e5174204f79bd1bfdd0193f3c6bdc21ed /src/mpfr-intmax.h | |
parent | a75043b159ddfaf3dfe9b75cf426d33e778c09ef (diff) | |
download | mpfr-e316200182e0b2c7d5c84c9c6e019321b5bfd8d0.tar.gz |
Added mpfr-intmax.h header.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7695 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-intmax.h')
-rw-r--r-- | src/mpfr-intmax.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/mpfr-intmax.h b/src/mpfr-intmax.h new file mode 100644 index 000000000..c87739cce --- /dev/null +++ b/src/mpfr-intmax.h @@ -0,0 +1,40 @@ +/* MPFR internal header related to intmax_t. + +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +Contributed by the Arenaire and Caramel projects, INRIA. + +This file is part of the GNU MPFR Library. + +The GNU MPFR Library is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 3 of the License, or (at your +option) any later version. + +The GNU MPFR Library is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see +http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef __MPFR_INTMAX_H__ +#define __MPFR_INTMAX_H__ + +/* The ISO C99 standard specifies that in C++ implementations the + INTMAX_MAX, ... macros should only be defined if explicitly requested. */ +#if defined __cplusplus +# define __STDC_LIMIT_MACROS +# define __STDC_CONSTANT_MACROS +#endif + +#if HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#if HAVE_STDINT_H +# include <stdint.h> +#endif + +#endif |