From 2ba69f9f8819daaa3d166c4c1c7e03b121b88a95 Mon Sep 17 00:00:00 2001 From: Izik Eidus Date: Thu, 28 Jan 2010 04:44:43 +0200 Subject: libspice: add surface 0 support This include alot of infestracture for off screens. Signed-off-by: Izik Eidus --- server/red_common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/red_common.h') diff --git a/server/red_common.h b/server/red_common.h index fafb2841..f505868c 100644 --- a/server/red_common.h +++ b/server/red_common.h @@ -48,6 +48,11 @@ abort(); \ } +#define PANIC_ON(x) if ((x)) { \ + printf("%s: panic %s\n", __FUNCTION__, #x); \ + abort(); \ +} + #define TRUE 1 #define FALSE 0 -- cgit