summaryrefslogtreecommitdiff
path: root/src/mpc.h
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-11-04 18:51:41 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-11-04 18:51:41 +0000
commitb8faa5864516b203ebd28963f61e0ee14effc131 (patch)
tree180e249176b584debd0f04f4d49db6e5d724cbda /src/mpc.h
parentadd53ee43c546a41b24a2a018962452fd0adebba (diff)
downloadmpc-b8faa5864516b203ebd28963f61e0ee14effc131.tar.gz
mpc.h, mpc-impl.h: removed __MPC_WITHIN_MPC, since now mpc-impl.h is
included only for the library build git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1115 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/mpc.h')
-rw-r--r--src/mpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpc.h b/src/mpc.h
index ee6e7f6..5b6ec46 100644
--- a/src/mpc.h
+++ b/src/mpc.h
@@ -123,7 +123,7 @@ typedef __gmp_const __mpc_struct *mpc_srcptr;
/* Support for WINDOWS DLL, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2011-November/000990.html;
when building the DLL, export symbols, otherwise behave as GMP */
-#if defined (__MPC_WITHIN_MPC) && __GMP_LIBGMP_DLL
+#if defined (__MPC_IMPL_H) && __GMP_LIBGMP_DLL
#define __MPC_DECLSPEC __GMP_DECLSPEC_EXPORT
#else
#define __MPC_DECLSPEC __GMP_DECLSPEC