diff options
Diffstat (limited to 'src/net/win2mac.h')
-rw-r--r-- | src/net/win2mac.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/win2mac.h b/src/net/win2mac.h index 851a328a..8159f4a3 100644 --- a/src/net/win2mac.h +++ b/src/net/win2mac.h @@ -1,3 +1,6 @@ +#ifndef _TMW_MAC_H +#define _TMW_MAC_H + #include <stdio.h> #define UInt16 unsigned short int @@ -6,10 +9,8 @@ #define INT32 long int #define SWAP( a, b ) { char c; c=a; a=b; b=c; } -#ifndef _MAC_H -#define _MAC_H UInt32 DR_SwapFourBytes(UInt32 dw); UInt16 DR_SwapTwoBytes(UInt16 w); char* SwapChar(char charlist[]); -#endif +#endif |