--- errhnd.hpp
+++ errhnd.hpp
@@ -2,7 +2,7 @@
 #define _RAR_ERRHANDLER_
 
 #ifndef SFX_MODULE
-#define ALLOW_EXCEPTIONS
+#undef ALLOW_EXCEPTIONS
 #endif
 
 enum RAR_EXIT // RAR exit code.
