Ticket #5088: regex.cpp.patch

File regex.cpp.patch, 337 bytes (added by hstong@…, 12 years ago)

Patch to libs/regex/src/regex.cpp removing main() from library

  • libs/regex/src/regex.cpp

    old new  
    224224}
    225225#endif
    226226
    227 #if defined(__IBMCPP__) && defined(BOOST_REGEX_DYN_LINK)
    228 //
    229 // Is this correct - linker complains without it ?
    230 //
    231 int main()
    232 {
    233    return 0;
    234 }
    235227
    236 #endif
    237228
    238229
    239230