/* $CompileFlags: exec("pcre-config --cflags") */
/* $LinkerFlags: exec("pcre-config --libs") rpath("pcre-config --libs") -lpcre */
-#ifdef WINDOWS
+#ifdef _WIN32
# pragma comment(lib, "libpcre.lib")
#endif
{
public:
PCREException(const std::string& rx, const std::string& error, int erroffset)
- : ModuleException(std::string("Error in regex ") + rx + " at offset " + ConvToStr(erroffset) + ": " + error)
+ : ModuleException("Error in regex " + rx + " at offset " + ConvToStr(erroffset) + ": " + error)
{
}
};