diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-11-18 15:27:50 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-11-18 15:46:53 +0200 |
commit | 075820ab23e70438ef26c9659126ad425b3f5de0 (patch) | |
tree | 6ebfd9bc3661aca694c57c87bcc7ce4351fd3d38 | |
parent | d2ba9edd664e27a97aff1c73da5717d6157789d4 (diff) | |
download | mariadb-git-075820ab23e70438ef26c9659126ad425b3f5de0.tar.gz |
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 <sys/types.h> due to _DEFAULT_SOURCE and __USE_MISC
becoming defined in <features.h>.
-rw-r--r-- | storage/innobase/include/ut0mutex.h | 3 |
1 files changed, 0 insertions, 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 <set> |