summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-12-04 16:15:46 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-12-04 16:15:46 -0800
commit5535cad773b69cb9359185deead1a3d5ec7bad8a (patch)
tree3d98a62c09b944c985b96c9ed96302733a02f68a
parentec84934d48ee2a4d373a517163750bfedea6d9d9 (diff)
downloadinfinitytier-5535cad773b69cb9359185deead1a3d5ec7bad8a.tar.gz
infinitytier-5535cad773b69cb9359185deead1a3d5ec7bad8a.zip
Revert mutex change.
-rw-r--r--node/Mutex.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/node/Mutex.hpp b/node/Mutex.hpp
index 8daa851f..a60a00b2 100644
--- a/node/Mutex.hpp
+++ b/node/Mutex.hpp
@@ -37,8 +37,7 @@
namespace ZeroTier {
-//#if defined(__GNUC__) && (defined(__amd64) || defined(__amd64__) || defined(__x86_64) || defined(__x86_64__) || defined(__AMD64) || defined(__AMD64__) || defined(_M_X64))
-#if 0
+#if defined(__GNUC__) && (defined(__amd64) || defined(__amd64__) || defined(__x86_64) || defined(__x86_64__) || defined(__AMD64) || defined(__AMD64__) || defined(_M_X64))
// Inline ticket lock on x64 systems with GCC and CLANG (Mac, Linux) -- this is really fast as long as locking durations are very short
class Mutex