diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-11-04 18:51:41 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-11-04 18:51:41 +0000 |
commit | b8faa5864516b203ebd28963f61e0ee14effc131 (patch) | |
tree | 180e249176b584debd0f04f4d49db6e5d724cbda | |
parent | add53ee43c546a41b24a2a018962452fd0adebba (diff) | |
download | mpc-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
-rw-r--r-- | src/mpc-impl.h | 7 | ||||
-rw-r--r-- | src/mpc.h | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/mpc-impl.h b/src/mpc-impl.h index 4d8aa58..13582d1 100644 --- a/src/mpc-impl.h +++ b/src/mpc-impl.h @@ -21,13 +21,6 @@ along with this program. If not, see http://www.gnu.org/licenses/ . #ifndef __MPC_IMPL_H #define __MPC_IMPL_H -/* If mpc-impl.h is included, we are either in the library build or in the - tests. Define __MPC_WITHIN_MPC in the first case, since Windows DLL needs - different export/import directives. Without effect outside Windows DLL. */ -#ifndef __MPC_TESTS_H -#define __MPC_WITHIN_MPC 1 -#endif - #include "config.h" #ifdef HAVE_STDLIB_H #include <stdlib.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 |