Bochs/bochs/build/macos/macos_defines.h

13 lines
440 B
C
Raw Normal View History

2002-12-12 18:29:45 +03:00
#define NO_ASSEMBLER
#define USE_WITH_CPU_SIM
#define PARANOID
2004-02-07 01:28:00 +03:00
#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