From 84e8410b5e832392c248febbc494db0bf41ec550 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Fri, 6 May 2011 06:17:26 +0000
Subject: [PATCH] Remove copy/paste from OS X builds now that the scrap manager
 is gone.

Using the Pasteboard API would require Objective C and since my Mac is too
old to run a newer OS X, I can't really work on this.
---
 src/conio/sdl_con.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conio/sdl_con.c b/src/conio/sdl_con.c
index 80a1df7245..e21e0456e8 100644
--- a/src/conio/sdl_con.c
+++ b/src/conio/sdl_con.c
@@ -1625,7 +1625,7 @@ int sdl_video_event_thread(void *data)
 								sdl.SemPost(sdl_ufunc_ret);
 								break;
 							case SDL_USEREVENT_COPY:
-	#if (defined(__MACH__) && defined(__APPLE__))
+	#if (defined(__MACH__) && defined(__APPLE__)) && defined(USE_SCRAP_MANAGER)
 								if(!sdl_using_x11) {
 									ScrapRef	scrap;
 									sdl.mutexP(sdl_copybuf_mutex);
@@ -1654,7 +1654,7 @@ int sdl_video_event_thread(void *data)
 	#endif
 								break;
 							case SDL_USEREVENT_PASTE:
-	#if (defined(__MACH__) && defined(__APPLE__))
+	#if (defined(__MACH__) && defined(__APPLE__)) && defined(USE_SCRAP_MANAGER)
 								if(!sdl_using_x11) {
 									ScrapRef	scrap;
 									UInt32	fl;
-- 
GitLab