Added tentative fix for AIX shared lib.

[SVN r21425]
This commit is contained in:
John Maddock
2003-12-30 12:09:03 +00:00
parent 3026d5e6c6
commit 3e60ca3481

View File

@ -162,7 +162,7 @@ BOOST_REGEX_DECL void BOOST_REGEX_CALL put_mem_block(void* p)
} // namespace boost
#if defined(BOOST_RE_USE_VCL) && defined(BOOST_REGEX_BUILD_DLL)
#if defined(BOOST_RE_USE_VCL) && defined(BOOST_REGEX_DYN_LINK)
int WINAPI DllEntryPoint(HINSTANCE , unsigned long , void*)
{
@ -170,6 +170,17 @@ int WINAPI DllEntryPoint(HINSTANCE , unsigned long , void*)
}
#endif
#if defined(__IBMCPP__) && defined(BOOST_REGEX_DYN_LINK)
//
// Is this correct - linker complains without it ?
//
int main()
{
return 0;
}
#endif