src/os/macosx/osx_stdafx.h
author rubidium
Tue, 28 Oct 2008 15:47:42 +0000
changeset 10300 e336f1784ba4
parent 9111 48ce04029fe4
permissions -rw-r--r--
(svn r14541) -Fix (r14540): mingw didn't like it :(
/* $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 */