summaryrefslogtreecommitdiff
path: root/js/src/builtin/TestingFunctions.cpp
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-19 14:24:49 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:45 -0500
commit70f9e04d211ed8b5c37e40b7eaca1c4d3b6f7ad1 (patch)
treee2ce9b1a8dd6822071051f4052fbdaee2feb5976 /js/src/builtin/TestingFunctions.cpp
parentcc3e6add8db1591ed0b9500ef308f30cf35f52d6 (diff)
downloadaura-central-70f9e04d211ed8b5c37e40b7eaca1c4d3b6f7ad1.tar.gz
MoonchildProductions%1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
Diffstat (limited to 'js/src/builtin/TestingFunctions.cpp')
-rw-r--r--js/src/builtin/TestingFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/TestingFunctions.cpp b/js/src/builtin/TestingFunctions.cpp
index 6beb82932..4363c7aed 100644
--- a/js/src/builtin/TestingFunctions.cpp
+++ b/js/src/builtin/TestingFunctions.cpp
@@ -239,7 +239,7 @@ GetBuildConfiguration(JSContext* cx, unsigned argc, Value* vp)
value = BooleanValue(true);
if (!JS_SetProperty(cx, info, "intl-api", value))
return false;
-#if defined(XP_SOLARIS)
+#ifdef XP_SOLARIS
value = BooleanValue(false);
#else
value = BooleanValue(true);