summaryrefslogtreecommitdiff
path: root/riscos/content-handlers/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/content-handlers/draw.h')
-rw-r--r--riscos/content-handlers/draw.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/riscos/content-handlers/draw.h b/riscos/content-handlers/draw.h
index 76fcbc8dc..9f5baf6dc 100644
--- a/riscos/content-handlers/draw.h
+++ b/riscos/content-handlers/draw.h
@@ -32,7 +32,10 @@ nserror draw_init(void);
#else
-#define draw_init() NSERROR_OK
+static inline nserror draw_init(void)
+{
+ return NSERROR_OK;
+}
#endif /* WITH_DRAW */