From ff6c1249d6e0902b619a6dfca8f335309b7afa62 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 22 May 2004 02:02:29 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3416 --- lib/diagnostics.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/diagnostics.h b/lib/diagnostics.h index 5afac574ad..7e4cd0e22d 100644 --- a/lib/diagnostics.h +++ b/lib/diagnostics.h @@ -72,8 +72,6 @@ extern void boinc_set_signal_handler_force(int sig, void(*handler)(int)); #endif // _WIN32 -#ifdef _DEBUG - #define BOINCERROR( errmsg ) \ throw boinc_runtime_base_exception( __FILE__, __LINE__, errmsg ) #define BOINCMEMORYERROR( errmsg ) \ @@ -85,20 +83,6 @@ extern void boinc_set_signal_handler_force(int sig, void(*handler)(int)); #define BOINCSIGNALERROR( errmsg ) \ throw boinc_signal_operation_exception( __FILE__, __LINE__, errmsg ) -#else // _DEBUG - -#define BOINCERROR( errmsg ) \ - throw boinc_runtime_base_exception( errmsg ) -#define BOINCMEMORYERROR( errmsg ) \ - throw boinc_out_of_memory_exception( errmsg ) -#define BOINCPARAMETERERROR( errmsg ) \ - throw boinc_invalid_parameter_exception( errmsg ) -#define BOINCFILEERROR( errmsg ) \ - throw boinc_file_operation_exception( errmsg ) -#define BOINCSIGNALERROR( errmsg ) \ - throw boinc_signal_operation_exception( errmsg ) - -#endif // _DEBUG #ifndef BOINCASSERT #define BOINCASSERT assert