src/os/macosx/osx_stdafx.h
author maedhros
Mon, 22 Jan 2007 16:26:45 +0000
changeset 5793 01b18d4550e2
parent 5475 2e6990a8c7c4
child 8127 a20f557b7081
permissions -rw-r--r--
(svn r8350) -Codechange: [Graphs] Use DrawStringCentered instead of a hardcoded offset to make the string appear centred.
/* $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 */