summaryrefslogtreecommitdiff
path: root/src/mpc.h
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-05-02 14:41:12 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-05-02 14:41:12 +0000
commitf3405ec47dc5482954b5f85e85ba4ac828568a43 (patch)
tree75cb4043481e62880fa91bfd139ee56c68f05b6b /src/mpc.h
parent16dc68258c6267e34b14ebd7f19aba2dc762f663 (diff)
downloadmpc-f3405ec47dc5482954b5f85e85ba4ac828568a43.tar.gz
mpc.h: correct support for dynamic mingw library, see the thread at
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2011-April/000871.html git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@992 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/mpc.h')
-rw-r--r--src/mpc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mpc.h b/src/mpc.h
index 29f1a89..b89a44e 100644
--- a/src/mpc.h
+++ b/src/mpc.h
@@ -117,10 +117,8 @@ typedef __gmp_const __mpc_struct *mpc_srcptr;
# define __MPC_PROTO(x) ()
#endif
-/* Support for WINDOWS Dll:
- Check if we are inside a MPC build, and if so export the functions.
- Otherwise does the same thing as GMP */
-#if defined(__MPC_WITHIN_MPC) && __GMP_LIBGMP_DLL
+/* Support for WINDOWS DLL, see the thread http://lists.gforge.inria.fr/pipermail/mpc-discuss/2011-April/000871.html */
+#if defined(__GMP_LIBGMP_DLL)
# define __MPC_DECLSPEC __GMP_DECLSPEC_EXPORT
#else
# define __MPC_DECLSPEC __GMP_DECLSPEC