mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-03 03:13:31 +00:00
[common] add DEBUG_FATAL
This commit is contained in:
parent
6ed4e23b80
commit
5e3a46beb9
2 changed files with 2 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
B1-22-g0851ae6f14+1
|
||||
B1-23-g6ed4e23b80+1
|
|
@ -53,6 +53,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
#define DEBUG_WARN(fmt, ...) DEBUG_PRINT("[W]", fmt, ##__VA_ARGS__)
|
||||
#define DEBUG_ERROR(fmt, ...) DEBUG_PRINT("[E]", fmt, ##__VA_ARGS__)
|
||||
#define DEBUG_FIXME(fmt, ...) DEBUG_PRINT("[F]", fmt, ##__VA_ARGS__)
|
||||
#define DEBUG_FATAL(fmt, ...) do {DEBUG_PRINT("[C]", fmt, ##__VA_ARGS__); abort();} while (0)
|
||||
|
||||
#if defined(DEBUG_SPICE) | defined(DEBUG_IVSHMEM)
|
||||
#define DEBUG_PROTO(fmt, args...) DEBUG_PRINT("[P]", fmt, ##args)
|
||||
|
|
Loading…
Reference in a new issue