diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-26 13:08:46 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-26 13:08:46 +0000 |
commit | 92bbeab96bf61edf9b7caa125ed67e634258383e (patch) | |
tree | a95dd426590c8e6208445290fa8b9b47c1a57bcb /src/net/win2mac.h | |
parent | e46b2cdbf205d3d2e17266e3168fdbecd5f53222 (diff) | |
download | mana-client-92bbeab96bf61edf9b7caa125ed67e634258383e.tar.gz mana-client-92bbeab96bf61edf9b7caa125ed67e634258383e.tar.bz2 mana-client-92bbeab96bf61edf9b7caa125ed67e634258383e.tar.xz mana-client-92bbeab96bf61edf9b7caa125ed67e634258383e.zip |
*** empty log message ***
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 + |