mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 15:31:50 +00:00
.
This commit is contained in:
parent
4efee8a7ca
commit
3c1a33323e
@ -1,11 +1,11 @@
|
|||||||
#ifndef __winclude_endian_h__
|
#ifndef __winclude_endian_h__
|
||||||
#define __winclude_endian_h__
|
#define __winclude_endian_h__
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
# define LITTLE_ENDIAN 1234
|
# define LITTLE_ENDIAN 1234
|
||||||
# define BIG_ENDIAN 4321
|
# define BIG_ENDIAN 4321
|
||||||
# define PDP_ENDIAN 3412
|
# define PDP_ENDIAN 3412
|
||||||
# define BYTE_ORDER LITTLE_ENDIAN
|
# define BYTE_ORDER LITTLE_ENDIAN
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#ifndef __winclude_unistd_h__
|
#ifndef __winclude_unistd_h__
|
||||||
#define __winclude_unistd_h__
|
#define __winclude_unistd_h__
|
||||||
|
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
|
||||||
#define ftruncate(a,b) chsize(a,b)
|
#define ftruncate(a,b) chsize(a,b)
|
||||||
|
|
||||||
typedef long ssize_t;
|
typedef long ssize_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user