mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 01:19:11 +00:00
(svn r18074) -Fix [FS#3314]: [OSX] Don't link clipboard support twice when building without Cocoa.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user