src/os/macosx/osx_stdafx.h
author smatz
Sat, 13 Dec 2008 18:19:44 +0000
changeset 10418 faf551975df7
parent 9111 48ce04029fe4
permissions -rw-r--r--
(svn r14671) -Fix: compilation was broken for some systems
/* $Id$ */

/** @file osx_stdafx.h OSX is different on some places. */

#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 GetTime		OTTD_GetTime

#define SL_ERROR OSX_SL_ERROR

#endif /* MACOS_STDAFX_H */