diff options
Diffstat (limited to 'src/net/win2mac.h')
-rw-r--r-- | src/net/win2mac.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/net/win2mac.h b/src/net/win2mac.h new file mode 100644 index 00000000..72ae9fd9 --- /dev/null +++ b/src/net/win2mac.h @@ -0,0 +1,16 @@ +#include <stdio.h> + +#define UInt16 unsigned short int +#define INT16 short int +#define UInt32 unsigned long int +#define INT32 long int +#define SWAP( a, b ) { char c; c=a; a=b; b=c; } + +#ifndef _MAC_H +#define _MAC_H +void dummy(); +UInt32 DR_SwapFourBytes(UInt32 dw); +UInt16 DR_SwapTwoBytes(UInt16 w); +char* SwapChar(char charlist[]); +#endif + |