]> git.jsancho.org Git - lugaru.git/blobdiff - Source/MacCompatibility.h
Remove typedef bool -> Boolean, using standard bool instead
[lugaru.git] / Source / MacCompatibility.h
index 1ce59d4858fa7c68d13b0dae9d08609dbee6dc7b..07c2bc70cd76d9bfe8310e0a46403703a2567892 100644 (file)
@@ -20,8 +20,6 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #ifndef _MACCOMPATIBLITY_H_
 #define _MACCOMPATIBLITY_H_
 
-#if !PLATFORM_MACOSX
-
 #include <stdio.h>
 #include <float.h>
 #include <math.h>
@@ -50,9 +48,6 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #  endif
 #endif
 
-typedef bool Boolean;
-
-
 struct Point {
     short v;
     short h;
@@ -64,11 +59,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 +98,5 @@ char* ConvertFileName( const char* orgfilename, const char *mode = "rb" );
 #define fopen( a, b) fopen(ConvertFileName(a, b), b)
 
 #endif
-#endif