src/os/macosx/osx_stdafx.h
author truelight
Sat, 24 Mar 2007 14:56:31 +0000
branchnoai
changeset 9516 defc90b7898a
parent 5726 8f399788f6c9
child 6872 1c4a4a609f85
permissions -rw-r--r--
(svn r9428) [NoAI] -Fix: FindBestRoadVehicle returned always INVALID_ENGINE. It is more useful to return best_engine ;)
/* $Id$ */

#ifndef MACOS_STDAFX_H
#define MACOS_STDAFX_H

#include <CoreServices/CoreServices.h>
// remove the variables that CoreServices defines, but we define ourselves too
#undef bool
#undef false
#undef true

/* Name conflict */
#define Rect		OTTDRect
#define Point		OTTDPoint
#define GetTime		OTTDGetTime

#define SL_ERROR OSX_SL_ERROR

#endif /* MACOS_STDAFX_H */