diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-04-10 23:53:07 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-04-12 18:44:43 +0200 |
commit | e9294ce4e30409fa84755fb7a77fb2770d433e62 (patch) | |
tree | 9fefa8ba7cc8b85183d47e0887cbc10acddc9cde /src/os/macosx/string_osx.cpp | |
parent | c21a298a8ae13caa975367229855dc29622ddcf5 (diff) | |
download | openttd-e9294ce4e30409fa84755fb7a77fb2770d433e62.tar.xz |
Cleanup: [OSX] Mop up some remaining stuff catering to compiling with very old SDK versions.
Diffstat (limited to 'src/os/macosx/string_osx.cpp')
-rw-r--r-- | src/os/macosx/string_osx.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/os/macosx/string_osx.cpp b/src/os/macosx/string_osx.cpp index ad4983e9a..47c7f0a46 100644 --- a/src/os/macosx/string_osx.cpp +++ b/src/os/macosx/string_osx.cpp @@ -18,8 +18,6 @@ #include <CoreFoundation/CoreFoundation.h> -#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5) - /* CTRunDelegateCreate is supported since MacOS X 10.5, but was only included in the SDKs starting with the 10.9 SDK. */ #ifndef HAVE_OSX_109_SDK extern "C" { @@ -435,23 +433,3 @@ int MacOSStringCompare(const char *s1, const char *s2) return new OSXStringIterator(); } - -#else -void MacOSResetScriptCache(FontSize size) {} -void MacOSSetCurrentLocaleName(const char *iso_code) {} - -int MacOSStringCompare(const char *s1, const char *s2) -{ - return 0; -} - -/* static */ StringIterator *OSXStringIterator::Create() -{ - return nullptr; -} - -/* static */ ParagraphLayouter *CoreTextParagraphLayoutFactory::GetParagraphLayout(CharType *buff, CharType *buff_end, FontMap &fontMapping) -{ - return nullptr; -} -#endif /* (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5) */ |