From 075820ab23e70438ef26c9659126ad425b3f5de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Sun, 18 Nov 2018 15:27:50 +0200 Subject: MDEV-17750: Fix the Windows build Remove some redundant declarations of global variables. These declarations can refer to undefined type names, because they occur before any #include statement for the type definitions. On GNU/Linux, uint and ulong seem to be defined in due to _DEFAULT_SOURCE and __USE_MISC becoming defined in . --- storage/innobase/include/ut0mutex.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/storage/innobase/include/ut0mutex.h b/storage/innobase/include/ut0mutex.h index dc387dadbdc..0763f606244 100644 --- a/storage/innobase/include/ut0mutex.h +++ b/storage/innobase/include/ut0mutex.h @@ -29,9 +29,6 @@ Created 2012-03-24 Sunny Bains. #ifndef ut0mutex_h #define ut0mutex_h -extern uint srv_spin_wait_delay; -extern ulong srv_n_spin_wait_rounds; - #include "sync0policy.h" #include "ib0mutex.h" #include -- cgit v1.2.1