Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2021-11-02 19:31:14 +0300
committerTobias Nießen <tniessen@tnie.de>2021-11-10 17:24:22 +0300
commit5e0dd79a3c111ae62712e22512de5ae18f9bcf9f (patch)
treeb578fc981477beb36563a0859545e6640b44a408 /src/node.cc
parentd8f1823d5fca5e3c00b19530fb15343fdd3c8bf5 (diff)
src: add and fix some preprocessor comments
PR-URL: https://github.com/nodejs/node/pull/40701 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.cc b/src/node.cc
index 254181b6fbd..7f18a21f672 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -960,7 +960,7 @@ int InitializeNodeWithArgs(std::vector<std::string>* argv,
}
# endif
-#endif
+#endif // defined(NODE_HAVE_I18N_SUPPORT)
NativeModuleEnv::InitializeCodeCache();
@@ -1091,7 +1091,7 @@ InitializationResult InitializeOncePerProcess(
return result;
}
}
-#else
+#else // OPENSSL_VERSION_MAJOR < 3
if (FIPS_mode()) {
OPENSSL_init();
}