1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-03-05 13:55:03 +00:00

(svn r18074) -Fix [FS#3314]: [OSX] Don't link clipboard support twice when building without Cocoa.

This commit is contained in:
michi_cc 2009-11-14 15:26:43 +00:00
parent 1066af500f
commit 32c6633bef

View File

@ -119,6 +119,7 @@ const char *GetCurrentLocale(const char *)
}
#ifdef WITH_COCOA
bool GetClipboardContents(char *buffer, size_t buff_len)
{
NSPasteboard *pb = [ NSPasteboard generalPasteboard ];
@ -135,3 +136,4 @@ bool GetClipboardContents(char *buffer, size_t buff_len)
return true;
}
#endif