# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../unrar/no-exceptions.patch # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- ./errhnd.hpp.orig 2004-01-05 06:52:30.000000000 +0200 +++ ./errhnd.hpp 2004-01-28 19:48:12.000000000 +0200 @@ -1,7 +1,7 @@ #ifndef _RAR_ERRHANDLER_ #define _RAR_ERRHANDLER_ -#if (defined(GUI) || !defined(_WIN_32)) && !defined(SFX_MODULE) && !defined(_WIN_CE) || defined(RARDLL) +#if (defined(GUI) || !defined(_WIN_32)) && (!defined(__GNUG__) || defined(__EXCEPTIONS)) && !defined(SFX_MODULE) && !defined(_WIN_CE) || defined(RARDLL) #define ALLOW_EXCEPTIONS #endif