Whatever, I'll keep what I need locally, as always (nw)

This commit is contained in:
Olivier Galibert 2015-03-21 10:46:40 +01:00
parent 466ed7c259
commit f4a04ca8e5

View file

@ -214,11 +214,6 @@ inline void operator--(_Type &value, int) { value = (_Type)((int)value - 1); }
#define FUNC(x) &x, #x
#define FUNC_NULL NULL, "(null)"
#ifndef REGRESSION_TESTING
#define assert_always(x, msg) do { if (!(x)) { fprintf(stderr, "%s:%d: Assert failure: %s: %s\n", __FILE__, __LINE__, msg, #x); abort(); }} while (0)
#else
// standard assertion macros
#undef assert
@ -235,8 +230,6 @@ inline void operator--(_Type &value, int) { value = (_Type)((int)value - 1); }
#define assert_always(x, msg) do { if (!(x)) throw emu_fatalerror("Fatal error: %s (%s:%d)", msg, __FILE__, __LINE__); } while (0)
#endif
#endif
// macros to convert radians to degrees and degrees to radians
#define RADIAN_TO_DEGREE(x) ((180.0 / M_PI) * (x))