diff options
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r-- | src/mpfr-impl.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index 97cd869b3..096e6e2c1 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -23,6 +23,11 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #ifndef __MPFR_IMPL_H__ #define __MPFR_IMPL_H__ +/* Include config.h before using ANY configure macros if needed. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + /* Let's include some standard headers unconditionally as they are already needed by several source files or when some options are enabled/disabled, and it is easy to forget them (some configure @@ -64,12 +69,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., ****************** Include files ********************* ******************************************************/ -/* Include 'config.h' before using ANY configure macros if needed - NOTE: It isn't MPFR 'config.h', but GMP's one! */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - /* For the definition of MPFR_THREAD_ATTR. GCC/ICC detection macros are no longer used, as they sometimes gave incorrect information about the support of thread-local variables. A configure check is now done. */ |