Browse Source

[lua] add `osx` to the list of recognized system name patterns

Justin Donaldson 7 years ago
parent
commit
cec48c9803
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/Boot.hx

+ 1 - 1
std/lua/Boot.hx

@@ -376,7 +376,7 @@ class Boot {
 	static var os_patterns = [
 	static var os_patterns = [
 		'Windows' => ['windows','^mingw','^cygwin'],
 		'Windows' => ['windows','^mingw','^cygwin'],
 		'Linux'   => ['linux'],
 		'Linux'   => ['linux'],
-		'Mac'     => ['mac','darwin'],
+		'Mac'     => ['mac','darwin','osx'],
 		'BSD'     => ['bsd$'],
 		'BSD'     => ['bsd$'],
 		'Solaris' => ['SunOS']
 		'Solaris' => ['SunOS']
 	];
 	];