summaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix')
-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 */