diff -r 4c8abb8977dc -r ca7d4c665531 include/common.h --- a/include/common.h Thu May 08 09:21:25 2008 +0200 +++ b/include/common.h Sat May 10 14:29:37 2008 +0200 @@ -45,7 +45,7 @@ # define PI M_PI #else # define Float float -# define Eps 1e-6f +# define Eps 2e-6f # define Inf FLT_MAX # define PI (float)M_PI #endif @@ -53,8 +53,14 @@ // enable M_* constants in MSVC #define _USE_MATH_DEFINES +#ifdef MSVC +#define NORETURN __declspec(noreturn) +#else +#define NORETURN __attribute__((noreturn)) +#endif + /* verbosity level: -0: only errors (E) +0: only errors and warnings (E, W) 1: major status messages (*) 2: minor status, progress (-) 3: debug messages (D)