aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tools/touch_calibration_grabber/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/tools/touch_calibration_grabber/main.c')
-rw-r--r--demos/tools/touch_calibration_grabber/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/tools/touch_calibration_grabber/main.c b/demos/tools/touch_calibration_grabber/main.c
index 44ef8329..3ce791ee 100644
--- a/demos/tools/touch_calibration_grabber/main.c
+++ b/demos/tools/touch_calibration_grabber/main.c
@@ -38,6 +38,10 @@ static coord_t bHeight;
static GHandle ghc;
static coord_t swidth, sheight;
+#if !GWIN_CONSOLE_USE_FLOAT
+ #error "You need to enable float support for the console widget. (GWIN_CONSOLE_USE_FLOAT)"
+#endif
+
int main(void) {
GMouse* m;