src: remove duplicate assignment of O_EXCL in node_constants.cc

PR-URL: https://github.com/nodejs/node/pull/59049
Reviewed-By: theanarkh <theratliter@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
Daniel Osvaldo R 2025-08-13 18:10:21 +07:00 committed by GitHub
parent 6e04511296
commit afc5893309
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1105,10 +1105,6 @@ NODE_DEFINE_CONSTANT(target, UV_FS_O_FILEMAP);
NODE_DEFINE_CONSTANT(target, O_DIRECTORY); NODE_DEFINE_CONSTANT(target, O_DIRECTORY);
#endif #endif
#ifdef O_EXCL
NODE_DEFINE_CONSTANT(target, O_EXCL);
#endif
#ifdef O_NOATIME #ifdef O_NOATIME
NODE_DEFINE_CONSTANT(target, O_NOATIME); NODE_DEFINE_CONSTANT(target, O_NOATIME);
#endif #endif