summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-03-06 19:25:38 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-03-06 19:25:38 +0100
commitd1d11d6baf6cea853c39085db062f1d7ee8ef9ff (patch)
tree693c371ac654e6e1e691e2588e4d8856d10ee9a2 /win
parentd2aab12760d1a9523407145e6d6587df5c011cf2 (diff)
downloadmariadb-git-d1d11d6baf6cea853c39085db062f1d7ee8ef9ff.tar.gz
Add support for Atomic instructions for Windows
Enables Google patch support on Windows
Diffstat (limited to 'win')
-rw-r--r--win/README1
-rw-r--r--win/configure.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/win/README b/win/README
index 916f64913ac..63923a6d7e2 100644
--- a/win/README
+++ b/win/README
@@ -58,6 +58,7 @@ The options right now are:
WITH_EXAMPLE_STORAGE_ENGINE
WITH_FEDERATED_STORAGE_ENGINE
__NT__ Enable named pipe support
+ WITHOUT_ATOMICS Do not use atomic instructions
MYSQL_SERVER_SUFFIX=<suffix> Server suffix, default none
COMPILATION_COMMENT=<comment> Server comment, default "Source distribution"
MYSQL_TCP_PORT=<port> Server port, default 3306
diff --git a/win/configure.js b/win/configure.js
index ac51b15b9f0..c80645a73b2 100644
--- a/win/configure.js
+++ b/win/configure.js
@@ -50,6 +50,7 @@ try
case "EMBED_MANIFESTS":
case "EXTRA_DEBUG":
case "WITH_EMBEDDED_SERVER":
+ case "WITHOUT_ATOMICS":
configfile.WriteLine("SET (" + args.Item(i) + " TRUE)");
break;
case "MYSQL_SERVER_SUFFIX":