From 19918b948d5909bc9dae9fc6e92668f2b56e363f Mon Sep 17 00:00:00 2001
From: Trevor Welsby <welsby.trevorr@gmail.com>
Date: Mon, 25 Jan 2016 02:07:49 +1000
Subject: [PATCH] Fix typo in preprocessor defined/!defined

---
 test/unit.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit.cpp b/test/unit.cpp
index 9185c205..f098170d 100644
--- a/test/unit.cpp
+++ b/test/unit.cpp
@@ -11574,7 +11574,7 @@ TEST_CASE("regression tests")
 
         // Test fails under GCC/clang due to strtod() error (may originate in libstdc++
         // but seems to have been fixed in the most current versions - just not on Travis)
-#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
+#if !defined(__clang__) && !defined(__GNUC__) && !defined(__GNUG__)
         j = json::parse("1.00000000000000011102230246251565404236316680908203126");
         CHECK(j.get<double>() == 1.00000000000000022);
 #endif