Added explicit bounds to the array variables to work around Mtrowerks problems.

Added extra check before setting dllexport options.


[SVN r19095]
This commit is contained in:
John Maddock
2003-07-13 11:27:05 +00:00
parent e12105e591
commit 8e03097d9d
4 changed files with 5 additions and 5 deletions

View File

@ -209,7 +209,7 @@ using std::distance;
# define BOOST_REGEX_HAS_DLL_RUNTIME
#endif
#if defined(BOOST_REGEX_HAS_DLL_RUNTIME) && defined(BOOST_REGEX_DYN_LINK)
#if defined(BOOST_REGEX_HAS_DLL_RUNTIME) && defined(BOOST_REGEX_DYN_LINK) && !defined(BOOST_REGEX_STATIC_LINK)
# if defined(BOOST_REGEX_SOURCE)
# define BOOST_REGEX_DECL __declspec(dllexport)
# define BOOST_REGEX_BUILD_DLL