summaryrefslogtreecommitdiff
path: root/src/mpc.h
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-12-20 12:11:15 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-12-20 12:11:15 +0000
commit64d486ad2684c632c5e62af973d3b783563d88ee (patch)
tree98f895a9ead675ae0d85458a38d10bae43841b68 /src/mpc.h
parentdad757aa5dede68e460c626aa372d1a79f252dc5 (diff)
downloadmpc-64d486ad2684c632c5e62af973d3b783563d88ee.tar.gz
mpc.h, mpc-impl.h, logging.c: correctly determine that logging.c belongs
to the library although it does not include mpc-impl.h see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2011-December/001027.html git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1117 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 5b6ec46..3184a5a 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_IMPL_H) && __GMP_LIBGMP_DLL
+#if defined (__MPC_LIBRARY_BUILD) && __GMP_LIBGMP_DLL
#define __MPC_DECLSPEC __GMP_DECLSPEC_EXPORT
#else
#define __MPC_DECLSPEC __GMP_DECLSPEC