Fail* directories reorganized, Code-cleanup (-> coding-style), Typos+comments fixed.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1321 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
12
simulators/bochs/build/macos/macos_defines.h
Normal file
12
simulators/bochs/build/macos/macos_defines.h
Normal file
@ -0,0 +1,12 @@
|
||||
#define NO_ASSEMBLER
|
||||
#define USE_WITH_CPU_SIM
|
||||
#define PARANOID
|
||||
|
||||
#define fileno(A) 0
|
||||
#ifdef __cplusplus
|
||||
#include <cstddef>
|
||||
inline long read(int fd, void *buf, std::size_t nbytes);
|
||||
long read(int fd, void *buf, std::size_t nbytes) {return read(fd, (char*)buf, nbytes);}
|
||||
inline long write(int fd, const void *buf, std::size_t nbytes);
|
||||
long write(int fd, const void *buf, std::size_t nbytes) {return write(fd, (const char*)buf, nbytes);}
|
||||
#endif
|
||||
Reference in New Issue
Block a user