Avoid autoconf removing the #undef ECL_API statement (J. Elsasser)

This commit is contained in:
Juan Jose Garcia Ripoll 2008-09-01 21:06:20 +02:00
parent e6d1d328fa
commit 5726dad47c

View file

@ -24,7 +24,7 @@
#if defined(mingw32) || defined(_MSC_VER) || defined(cygwin)
# define ECL_DLLEXPORT __declspec(dllexport)
# ifdef ECL_API
# undef ECL_API
# undef ECL_API /* Avoid autoconf removing this */
# define ECL_API __declspec(dllexport)
# else
# define ECL_API __declspec(dllimport)
@ -32,7 +32,7 @@
#else
# define ECL_DLLEXPORT
# ifdef ECL_API
# undef ECL_API
# undef ECL_API /* Avoid autoconf removing this */
# endif
# define ECL_API
#endif