Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- types.h.orig Sun Apr 21 20:07:06 2013
- +++ types.h Mon Apr 22 23:36:23 2013
- @@ -39,7 +39,9 @@ void* emu_alloc(UInt32 size);
- void emu_free(void* ptr);
- void __mem_copy(void* d, const void* s, UInt32 sz);
- +#if !defined(__OpenBSD__)
- #define memset __memset_disabled__
- +#endif
- #define memcpy __memcpy_disabled__
- #endif
- --- main_pc.c.orig Sun Apr 21 20:07:06 2013
- +++ main_pc.c Mon Apr 22 23:33:38 2013
- @@ -14,7 +14,7 @@
- #include <termios.h>
- -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
- +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
- # define off64_t off_t
- # define fseeko64 fseeko
- # define ftello64 ftello
- @@ -185,7 +185,7 @@ int main(int argc, char** argv){
- cfg = old;
- if(ret) perror("cannot get term attrs");
- - #if !defined(_DARWIN_) && !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
- + #if !defined(_DARWIN_) && !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
- cfg.c_iflag &=~ (INLCR | INPCK | ISTRIP | IUCLC | IXANY | IXOFF | IXON);
- cfg.c_oflag &=~ (OPOST | OLCUC | ONLCR | OCRNL | ONOCR | ONLRET);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement