Commit 075820ab authored by Marko Mäkelä's avatar Marko Mäkelä

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>.
parent d2ba9edd
...@@ -29,9 +29,6 @@ Created 2012-03-24 Sunny Bains. ...@@ -29,9 +29,6 @@ Created 2012-03-24 Sunny Bains.
#ifndef ut0mutex_h #ifndef ut0mutex_h
#define ut0mutex_h #define ut0mutex_h
extern uint srv_spin_wait_delay;
extern ulong srv_n_spin_wait_rounds;
#include "sync0policy.h" #include "sync0policy.h"
#include "ib0mutex.h" #include "ib0mutex.h"
#include <set> #include <set>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment