(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
1 changed files with 2 additions and 0 deletions

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