init util as MACOSX if running under darwin

This commit is contained in:
Brian Matzon 2011-01-23 07:48:50 +00:00
parent de3d22e230
commit f9569ec329
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ public class LWJGLUtil {
PLATFORM = PLATFORM_WINDOWS;
else if ( osName.startsWith("Linux") || osName.startsWith("FreeBSD") || osName.startsWith("SunOS") )
PLATFORM = PLATFORM_LINUX;
else if ( osName.startsWith("Mac OS X") )
else if ( osName.startsWith("Mac OS X") || osName.startsWith("Darwin") )
PLATFORM = PLATFORM_MACOSX;
else
throw new LinkageError("Unknown platform: " + osName);