From 7ed55a515ee4f4b4388c223d1f7aa6bb0f801efc Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 20 Jan 2011 10:14:55 +0000 Subject: [PATCH] Building with IBM C++ no longer needs a main() entry point. Fixes #5088. [SVN r68318] --- src/regex.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/regex.cpp b/src/regex.cpp index 1f1caa6f..27ac43cc 100644 --- a/src/regex.cpp +++ b/src/regex.cpp @@ -224,19 +224,3 @@ 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 - - - - - -