/*****************************************************************************
* intf_eject.c: CD/DVD-ROM ejection handling functions
*****************************************************************************
- * Copyright (C) 2001-2004 VideoLAN
- * $Id: intf_eject.c,v 1.23 2004/01/06 12:02:06 zorglub Exp $
+ * Copyright (C) 2001-2004 the VideoLAN team
+ * $Id$
*
* Authors: Julien Blache <jb@technologeek.org> for the Linux part
* with code taken from the Linux "eject" command
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/**
{
int i_ret = VLC_SUCCESS;
-#ifdef SYS_DARWIN
+#ifdef __APPLE__
FILE *p_eject;
char *psz_disk;
char sz_cmd[32];
i_ret = ioctl( i_fd, CDROMEJECT, 0 );
#else
- msg_Warn( p_this, "CD-Rom ejection unsupported on this platform" );
+ msg_Warn( p_this, "CD-ROM ejection unsupported on this platform" );
i_ret = -1;
#endif