- another small beos change from Bernd Korz.

This commit is contained in:
Bryce Denney 2001-12-10 18:37:39 +00:00
parent c39181a903
commit 45b303a2c0

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: cdrom.cc,v 1.25 2001-12-08 13:07:07 bdenney Exp $
// $Id: cdrom.cc,v 1.26 2001-12-10 18:37:39 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -201,7 +201,7 @@ cdrom_interface::cdrom_interface(char *dev)
}
void
cdrom_interface::init(void) {
BX_DEBUG(("Init $Id: cdrom.cc,v 1.25 2001-12-08 13:07:07 bdenney Exp $"));
BX_DEBUG(("Init $Id: cdrom.cc,v 1.26 2001-12-10 18:37:39 bdenney Exp $"));
BX_INFO(("file = '%s'",path));
}
@ -596,7 +596,10 @@ cdrom_interface::capacity()
}
#endif
#ifdef __sun
#ifdef __BEOS__
#include "cdrom_beos.h"
return GetNumDeviceBlocks(fd, BX_CD_FRAMESIZE);
#elif defined(__sun)
{
struct stat buf = {0};