diff options
author | Tobias Nießen <tniessen@tnie.de> | 2021-11-02 19:31:14 +0300 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2021-11-10 17:24:22 +0300 |
commit | 5e0dd79a3c111ae62712e22512de5ae18f9bcf9f (patch) | |
tree | b578fc981477beb36563a0859545e6640b44a408 /src/node_url.cc | |
parent | d8f1823d5fca5e3c00b19530fb15343fdd3c8bf5 (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_url.cc')
-rw-r--r-- | src/node_url.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_url.cc b/src/node_url.cc index 14522fccb07..708d79f8d80 100644 --- a/src/node_url.cc +++ b/src/node_url.cc @@ -331,7 +331,7 @@ bool ToASCII(const std::string& input, std::string* output) { output->assign(*buf, buf.length()); return true; } -#else +#else // !defined(NODE_HAVE_I18N_SUPPORT) // Intentional non-ops if ICU is not present. bool ToUnicode(const std::string& input, std::string* output) { *output = input; @@ -342,7 +342,7 @@ bool ToASCII(const std::string& input, std::string* output) { *output = input; return true; } -#endif +#endif // !defined(NODE_HAVE_I18N_SUPPORT) #define NS_IN6ADDRSZ 16 |