2002-12-12 18:29:45 +03:00
|
|
|
#define NO_ASSEMBLER
|
|
|
|
#define USE_WITH_CPU_SIM
|
2002-12-18 22:00:24 +03:00
|
|
|
#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
|