From 8f0979d7a8ce0c647ce1ef06067e441be36d7cb1 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 5 Sep 2005 00:33:03 +0000 Subject: [PATCH] (device_open): Define it even if HAVE_GD nor HAVE_FREETYPE are defined. --- src/m17n-gd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/m17n-gd.c b/src/m17n-gd.c index a583f06..981ccf5 100644 --- a/src/m17n-gd.c +++ b/src/m17n-gd.c @@ -837,6 +837,10 @@ device_open (MFrame *frame, MPlist *param) return 0; } +#else /* not HAVE_GD nor HAVE_FREETYPE */ + +int device_open () { return -1; } + #endif /* not HAVE_GD nor HAVE_FREETYPE */ /*** @} */ -- 1.7.10.4