summaryrefslogtreecommitdiff
path: root/src/net/win2mac.h
blob: 8159f4a37fc691dab90620283fe9f5ac91b95d97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _TMW_MAC_H
#define _TMW_MAC_H

#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; }

UInt32 DR_SwapFourBytes(UInt32 dw);
UInt16 DR_SwapTwoBytes(UInt16 w);
char* SwapChar(char charlist[]);

#endif