summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-07-30 20:13:23 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2012-07-30 20:13:23 +0200
commit257fd9d3d9b5755128e0a226c26e5b5a0464b9ca (patch)
tree2e33c88e86804b21d84917a2f53d048f76524efa /include
parent55597a48698b267b966873727b079cd3ac0d1c18 (diff)
downloadmariadb-git-257fd9d3d9b5755128e0a226c26e5b5a0464b9ca.tar.gz
MDEV-417 - fix typo that prevented use of atomic instructions on Windows
use correct macro for Microsoft compiler. It is _MSC_VER , not _MSV_VER
Diffstat (limited to 'include')
-rw-r--r--include/atomic/nolock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/atomic/nolock.h b/include/atomic/nolock.h
index 1da184158ab..56f37644f96 100644
--- a/include/atomic/nolock.h
+++ b/include/atomic/nolock.h
@@ -36,7 +36,7 @@
choose the Solaris implementation on Solaris (mainly for SunStudio
compilers).
*/
-# if defined(_MSV_VER)
+# if defined(_MSC_VER)
# include "generic-msvc.h"
# elif __GNUC__
# if defined(HAVE_SOLARIS_ATOMIC)