aboutsummaryrefslogtreecommitdiffstats
path: root/widget_image.c
diff options
context:
space:
mode:
authorreinelt <>2006-06-21 05:12:43 +0000
committerreinelt <>2006-06-21 05:12:43 +0000
commit19a4d75fb8cf3162f1d22bd0f508cb4d93f3cdbd (patch)
treed203eaedbde94f56d06abc1a741b37f26662bf30 /widget_image.c
parent6293cd693540d5541b052e3a9c5770af4ea11762 (diff)
downloadlcd4linux-19a4d75fb8cf3162f1d22bd0f508cb4d93f3cdbd.tar.gz
[lcd4linux @ 2006-06-21 05:12:43 by reinelt]
added checks for libgd version 2 (thanks to Sam)
Diffstat (limited to '')
-rw-r--r--widget_image.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/widget_image.c b/widget_image.c
index d4ee1f4..b9d37e7 100644
--- a/widget_image.c
+++ b/widget_image.c
@@ -1,4 +1,4 @@
-/* $Id: widget_image.c,v 1.8 2006/06/20 08:50:59 reinelt Exp $
+/* $Id: widget_image.c,v 1.9 2006/06/21 05:12:43 reinelt Exp $
*
* image widget handling
*
@@ -21,6 +21,9 @@
*
*
* $Log: widget_image.c,v $
+ * Revision 1.9 2006/06/21 05:12:43 reinelt
+ * added checks for libgd version 2 (thanks to Sam)
+ *
* Revision 1.8 2006/06/20 08:50:59 reinelt
* widget_image linker error hopefully finally fixed
*
@@ -84,6 +87,11 @@
#endif
#endif
+#if GD2_VERS != 2
+#error "lcd4linux requires libgd version 2"
+#error "cannot compile image widget"
+#endif
+
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif