OpenTTD-patches/os/macosx/osx_stdafx.h

20 lines
372 B
C
Raw Normal View History

/* $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 */