macemu/SheepShaver/src/EthernetDriver/sysdeps.h
Alexei Svitkine 1cef34125c Add Etherner drive source code and CodeWarrior project file, from:
https://web.archive.org/web/20131124123749/http://gwenole.beauchesne.free.fr/sheepshaver/files/SheepShaver-Ethernet.tar.bz2

The project can be used in CodeWarrior to build a binary blob that
can then be converted into EthernetDriverFull.i by hexconv.cpp.
2015-06-06 12:15:29 -04:00

1 line
565 B
C

#ifndef SYSDEPS_H
#define SYSDEPS_H
#include <Memory.h>
#define SIZEOF_VOID_P 4
#define WORDS_BIGENDIAN 1
#define REAL_ADDRESSING 1
/* Define to build the Ethernet driver completly in MacOS space */
#define BUILD_ETHER_FULL_DRIVER 1
#define ntohl(x) ((uint32)(x))
#define ntohs(x) ((uint16)(x))
#define assert(expr)
typedef int bool;
typedef signed char int8;
typedef signed short int16;
typedef signed int int32;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef uint32 uintptr;
#endif /* SYSDEPS_H */