From 05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 1 Apr 2005 00:14:51 +0000 Subject: * The client will now only attempt to load .tmx or .tmx.gz files. * When unable to connect to char server, report IP to which it can't connect. * Cleaned up logger a bit. --- src/net/win2mac.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/net') 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 #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 -- cgit v1.2.3-70-g09d2