Implemented RunningOnLinux.

This commit is contained in:
the_fiddler 2008-11-18 12:41:12 +00:00
parent 0dea16ebf8
commit 4a9783c668

View file

@ -39,10 +39,13 @@ namespace OpenTK
switch (DetectUnixKernel()) switch (DetectUnixKernel())
{ {
case "Unix": case "Unix":
case "Linux":
runningOnX11 = true; runningOnX11 = true;
break; break;
case "Linux":
runningOnLinux = runningOnX11 = true;
break;
case "Darwin": case "Darwin":
runningOnOSX = true; runningOnOSX = true;
break; break;