From 5658e0f743064cc1c8ca77aed86891b8e803e0d7 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 4 Jan 2023 16:23:36 +0200 Subject: [PATCH] Put feature control macros before any headers The relevant header might get transitively included from something else. --- source/input/gesturedetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/input/gesturedetector.cpp b/source/input/gesturedetector.cpp index 1b57789..08232cf 100644 --- a/source/input/gesturedetector.cpp +++ b/source/input/gesturedetector.cpp @@ -1,5 +1,5 @@ -#include "gesturedetector.h" #define _USE_MATH_DEFINES +#include "gesturedetector.h" #include #include #include "touchscreen.h" -- 2.43.0