/*
Copyright (C) 2003, 2010 - Wolfire Games
+Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
This file is part of Lugaru.
#ifndef _MACCOMPATIBLITY_H_
#define _MACCOMPATIBLITY_H_
-#if !PLATFORM_MACOSX
-
#include <stdio.h>
#include <float.h>
#include <math.h>
# endif
#endif
-typedef bool Boolean;
-
-
struct Point {
short v;
short h;
#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;
#include <stdint.h>
#endif
-
-// fix file names to use '/' instead of ':'
-char* ConvertFileName( const char* orgfilename, const char *mode = "rb" );
-
-#define fopen( a, b) fopen(ConvertFileName(a, b), b)
-
-#endif
#endif