Files @ r5222:671cdc6f4c1e
Branch filter:

Location: cpp/openttd-patchpack/source/os/macosx/osx_stdafx.h

Darkvater
(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ala Fontconfig. Pretty
messy if you ask me, but this is what you get when MS hides the font API in the deepest
depths... thanks Rubidium for testing.
/* $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 */