mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Whatever, I'll keep what I need locally, as always (nw)
This commit is contained in:
parent
466ed7c259
commit
f4a04ca8e5
1 changed files with 0 additions and 7 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue