X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FMacCompatibility.h;h=21681671116479d77757d8e88f7ee90d74484b88;hb=cc92cb7b7f9b87cb791c504bf930d622d74db368;hp=1ce59d4858fa7c68d13b0dae9d08609dbee6dc7b;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/MacCompatibility.h b/Source/MacCompatibility.h index 1ce59d4..2168167 100644 --- a/Source/MacCompatibility.h +++ b/Source/MacCompatibility.h @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -20,8 +21,6 @@ along with Lugaru. If not, see . #ifndef _MACCOMPATIBLITY_H_ #define _MACCOMPATIBLITY_H_ -#if !PLATFORM_MACOSX - #include #include #include @@ -50,9 +49,6 @@ along with Lugaru. If not, see . # endif #endif -typedef bool Boolean; - - struct Point { short v; short h; @@ -64,11 +60,6 @@ typedef unsigned int UInt32; #include "Random.h" - -void CopyCStringToPascal( const char* src, unsigned char dst[256]); -void CopyPascalStringToC( const unsigned char* src, char* dst); - - typedef struct AbsoluteTime { unsigned long hi; unsigned long lo; @@ -108,6 +99,5 @@ char* ConvertFileName( const char* orgfilename, const char *mode = "rb" ); #define fopen( a, b) fopen(ConvertFileName(a, b), b) #endif -#endif