This commit is contained in:
Kelvin Sherlock 2016-11-13 21:15:26 -05:00
parent 4efee8a7ca
commit 3c1a33323e
2 changed files with 21 additions and 21 deletions

View File

@ -1,11 +1,11 @@
#ifndef __winclude_endian_h__
#define __winclude_endian_h__
#include <unistd.h>
# define LITTLE_ENDIAN 1234
# define BIG_ENDIAN 4321
# define PDP_ENDIAN 3412
# define BYTE_ORDER LITTLE_ENDIAN
#endif
#ifndef __winclude_endian_h__
#define __winclude_endian_h__
#include <unistd.h>
# define LITTLE_ENDIAN 1234
# define BIG_ENDIAN 4321
# define PDP_ENDIAN 3412
# define BYTE_ORDER LITTLE_ENDIAN
#endif

View File

@ -1,10 +1,10 @@
#ifndef __winclude_unistd_h__
#define __winclude_unistd_h__
#include <io.h>
#define ftruncate(a,b) chsize(a,b)
typedef long ssize_t;
#endif
#ifndef __winclude_unistd_h__
#define __winclude_unistd_h__
#include <io.h>
#define ftruncate(a,b) chsize(a,b)
typedef long ssize_t;
#endif