]> git.tdb.fi Git - libs/gui.git/commitdiff
Put feature control macros before any headers
authorMikko Rasa <tdb@tdb.fi>
Wed, 4 Jan 2023 14:23:36 +0000 (16:23 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 4 Jan 2023 14:26:47 +0000 (16:26 +0200)
The relevant header might get transitively included from something else.

source/input/gesturedetector.cpp

index 1b577893c30e313ca4ca3997a73c06b1502fd26e..08232cf8f0fecf023e98fe43b452d2bf9135ee0e 100644 (file)
@@ -1,5 +1,5 @@
-#include "gesturedetector.h"
 #define _USE_MATH_DEFINES
+#include "gesturedetector.h"
 #include <cmath>
 #include <sigc++/bind_return.h>
 #include "touchscreen.h"