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:
parent
1066af500f
commit
32c6633bef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user