summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-11-18 15:27:50 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-11-18 15:46:53 +0200
commit075820ab23e70438ef26c9659126ad425b3f5de0 (patch)
tree6ebfd9bc3661aca694c57c87bcc7ce4351fd3d38
parentd2ba9edd664e27a97aff1c73da5717d6157789d4 (diff)
downloadmariadb-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.h3
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>