summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-09-10 13:53:40 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-09-10 13:53:40 +0000
commita39d8ebee7b46c10c2acfdb12392baf3680debb2 (patch)
treee54b31bdf96b8884bc005c0c1b3b743d36942847 /src
parent5075de70a69719bcf26668bb7a5979b9b261272a (diff)
downloadmpfr-a39d8ebee7b46c10c2acfdb12392baf3680debb2.tar.gz
Merged the latest changes from the trunk since this wasn't the cause
of the problem. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9681 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r--src/mpfr-impl.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index 1361759eb..628adc193 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. */