src,test: further cleanup references to osx

PR-URL: https://github.com/nodejs/node/pull/53820
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Daniel Bayley authored and GitHub committed 2024-07-15 20:32:26 +00:00
1 parent 3a43e55a00
commit cff7da7749
36 files changed
+48 -48

No files matched your search

+1 -1
View File
@@ -282,7 +282,7 @@ Platform check for Linux.
Platform check for Linux on PowerPC.
### `isOSX`
### `isMacOS`
* [\<boolean>][<boolean>]
+2 -2
View File
@@ -141,7 +141,7 @@ const isSunOS = process.platform === 'sunos';
const isFreeBSD = process.platform === 'freebsd';
const isOpenBSD = process.platform === 'openbsd';
const isLinux = process.platform === 'linux';
const isOSX = process.platform === 'darwin';
const isMacOS = process.platform === 'darwin';
const isASan = process.config.variables.asan === 1;
const isPi = (() => {
try {
@@ -1003,7 +1003,7 @@ const common = {
isLinux,
isMainThread,
isOpenBSD,
isOSX,
isMacOS,
isPi,
isSunOS,
isWindows,
+2 -2
View File
@@ -30,7 +30,7 @@ const {
isLinuxPPCBE,
isMainThread,
isOpenBSD,
isOSX,
isMacOS,
isSunOS,
isWindows,
localIPv6Hosts,
@@ -85,7 +85,7 @@ export {
isLinuxPPCBE,
isMainThread,
isOpenBSD,
isOSX,
isMacOS,
isSunOS,
isWindows,
localIPv6Hosts,
+1 -1
View File
@@ -22,7 +22,7 @@ function addLibraryPath(env) {
env.LIBPATH =
(env.LIBPATH ? env.LIBPATH + path.delimiter : '') +
kExecPath;
// For Mac OSX.
// For macOS.
env.DYLD_LIBRARY_PATH =
(env.DYLD_LIBRARY_PATH ? env.DYLD_LIBRARY_PATH + path.delimiter : '') +
kExecPath;