Correct name for OSX in uname

This commit is contained in:
R. Bernstein
2008-12-07 08:02:16 -05:00
parent 5cdcb8d443
commit 4428b31f4b
2 changed files with 2 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ Installation Instructions
************************* *************************
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007 Free Software Foundation, Inc. 2006 Free Software Foundation, Inc.
This file is free documentation; the Free Software Foundation gives This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it. unlimited permission to copy, distribute and modify it.
@@ -67,9 +67,6 @@ The simplest way to compile this package is:
all sorts of other programs in order to regenerate files that came all sorts of other programs in order to regenerate files that came
with the distribution. with the distribution.
6. Often, you can also type `make uninstall' to remove the installed
files again.
Compilers and Options Compilers and Options
===================== =====================

View File

@@ -110,7 +110,7 @@ main(int argc, const char *argv[])
return 6; return 6;
} }
} }
else if (0 == strncmp("OSX", utsname.sysname, sizeof("OSX"))) else if (0 == strncmp("Darwin", utsname.sysname, sizeof("Darwin")))
{ {
if (!cdio_have_driver(DRIVER_OSX)) if (!cdio_have_driver(DRIVER_OSX))
{ {