summaryrefslogtreecommitdiff
path: root/src/os/unix/unix.cpp
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2009-10-04 21:08:38 +0000
committermichi_cc <michi_cc@openttd.org>2009-10-04 21:08:38 +0000
commit049d62b35cd48dffa2a661bf82452f3694ffaaa2 (patch)
treebdf2863b4473660e3c4da9a5c44c0c621f23a1b1 /src/os/unix/unix.cpp
parenta831143f4541926ac0eaec8289e442cba60cc75f (diff)
downloadopenttd-049d62b35cd48dffa2a661bf82452f3694ffaaa2.tar.xz
(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.
Diffstat (limited to 'src/os/unix/unix.cpp')
-rw-r--r--src/os/unix/unix.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp
index 49c06fcae..c99f6c795 100644
--- a/src/os/unix/unix.cpp
+++ b/src/os/unix/unix.cpp
@@ -262,10 +262,12 @@ int CDECL main(int argc, char *argv[])
return ret;
}
-bool InsertTextBufferClipboard(Textbuf *tb)
+#ifndef WITH_COCOA
+bool GetClipboardContents(char *buffer, size_t buff_len)
{
return false;
}
+#endif
/* multi os compatible sleep function */