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
path: root/src/api
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/api
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/api')
-rw-r--r--src/api/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/exceptions.cc b/src/api/exceptions.cc
index 493e0e806f7..1b9b308ad89 100644
--- a/src/api/exceptions.cc
+++ b/src/api/exceptions.cc
@@ -237,7 +237,7 @@ Local<Value> WinapiErrnoException(Isolate* isolate,
return e;
}
-#endif
+#endif // _WIN32
// Implement the legacy name exposed in node.h. This has not been in fact
// fatal any more, as the user can handle the exception in the