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

2014-03-10 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@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

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


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

2014-03-10 Thread Mark Kettenis
 From: Adam Jackson a...@redhat.com
 Date: Mon, 10 Mar 2014 11:04:26 -0400
 
 Signed-off-by: Adam Jackson a...@redhat.com

Reviewed-by: Mark Kettenis kette...@openbsd.org

 ---
  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
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel