summaryrefslogtreecommitdiff
path: root/storage/innobase/include/sync0sync.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2008-12-04 11:57:56 +0100
committerMikael Ronstrom <mikael@mysql.com>2008-12-04 11:57:56 +0100
commit7661629cf730d9ea1a15ad6e6d7143b4ec59e467 (patch)
tree4105d239bb8d511084f7b93412607a822759f864 /storage/innobase/include/sync0sync.h
parentae1814efbd893c99672ae8a5d487be6a81f86a8c (diff)
downloadmariadb-git-7661629cf730d9ea1a15ad6e6d7143b4ec59e467.tar.gz
Fix to avoid compilation errors on Windows
Not the final fix, only a temporary fix
Diffstat (limited to 'storage/innobase/include/sync0sync.h')
-rw-r--r--storage/innobase/include/sync0sync.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h
index e311d75a189..ae6c72bcd15 100644
--- a/storage/innobase/include/sync0sync.h
+++ b/storage/innobase/include/sync0sync.h
@@ -16,7 +16,9 @@ Created 9/5/1995 Heikki Tuuri
#include "os0thread.h"
#include "os0sync.h"
#include "sync0arr.h"
+#ifndef WIN32
#include "my_atomic.h"
+#endif
#ifndef UNIV_HOTBACKUP
extern my_bool timed_mutexes;