[PATCH 02/10] fb: Use #error instead of a syntax error

Adam Jackson ajax at redhat.com
Mon Mar 10 08:04:26 PDT 2014


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 fb/fb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fb/fb.h b/fb/fb.h
index f63aa4f..206a3bc 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -84,7 +84,7 @@
 #endif
 
 #if FB_SHIFT < LOG2_BITMAP_PAD
-error FB_SHIFT must be >= LOG2_BITMAP_PAD
+#error FB_SHIFT must be >= LOG2_BITMAP_PAD
 #endif
 #define FB_UNIT	    (1 << FB_SHIFT)
 #define FB_HALFUNIT (1 << (FB_SHIFT-1))
-- 
1.8.5.3



More information about the xorg-devel mailing list