diff --git a/dlls/regex/CRegEx.cpp b/dlls/regex/CRegEx.cpp index b4a7b1c6..a26ba77b 100755 --- a/dlls/regex/CRegEx.cpp +++ b/dlls/regex/CRegEx.cpp @@ -1,6 +1,7 @@ #include "pcre.h" #include "CRegEx.h" #include +#include "amxxmodule.h" RegEx::RegEx() { diff --git a/dlls/regex/CRegEx.h b/dlls/regex/CRegEx.h index 6a7d023b..b630f711 100755 --- a/dlls/regex/CRegEx.h +++ b/dlls/regex/CRegEx.h @@ -23,4 +23,5 @@ private: char *subject; }; -#endif //_INCLUDE_CREGEX_H \ No newline at end of file +#endif //_INCLUDE_CREGEX_H + diff --git a/dlls/regex/Makefile.pl b/dlls/regex/Makefile.pl index e1833f40..22278a48 100755 --- a/dlls/regex/Makefile.pl +++ b/dlls/regex/Makefile.pl @@ -134,6 +134,8 @@ if (!(-d $outdir)) $inc = $OPTIONS{"include"}; +$cflags .= " -fno-exceptions"; + for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++) { $file = $CPP_SOURCE_FILES[$i]; diff --git a/dlls/regex/module.cpp b/dlls/regex/module.cpp index ee3a0996..32d1e14c 100755 --- a/dlls/regex/module.cpp +++ b/dlls/regex/module.cpp @@ -1,8 +1,8 @@ #include #include "pcre.h" +#include "amxxmodule.h" #include "CVector.h" #include "CRegEx.h" -#include "amxxmodule.h" #include "module.h" CVector PEL; @@ -101,4 +101,4 @@ void OnAmxxDetach() } PEL.clear(); -} \ No newline at end of file +} diff --git a/dlls/regex/moduleconfig.h b/dlls/regex/moduleconfig.h index 67e486c4..1dab08e6 100755 --- a/dlls/regex/moduleconfig.h +++ b/dlls/regex/moduleconfig.h @@ -459,4 +459,5 @@ #endif // USE_METAMOD -#endif // __MODULECONFIG_H__ \ No newline at end of file +#endif // __MODULECONFIG_H__ +