From 460ee8e5ef8ea5bede3bf77dc2f257cf4a5f1599 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 6 Oct 2005 16:59:34 +0000 Subject: [PATCH] Also include sdl_copybuf* and sdl_pastebuf* for Win32 (Just in case) --- 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 828d7a5dc6..3e8dcdf24b 100644 --- a/src/conio/sdl_con.c +++ b/src/conio/sdl_con.c @@ -6,7 +6,9 @@ #include <stdio.h> /* NULL */ #include <stdlib.h> #include <string.h> +#ifdef __unix__ #include <dlfcn.h> +#endif #include "gen_defs.h" #include "genwrap.h" @@ -178,14 +180,12 @@ const struct sdl_keyvals sdl_keyval[] = }; const int sdl_tabs[10]={9,17,25,33,41,49,57,65,73,80}; -#ifndef _WIN32 /* *nix copy/paste stuff */ SDL_sem *sdl_pastebuf_set; SDL_sem *sdl_pastebuf_copied; SDL_mutex *sdl_copybuf_mutex; char *sdl_copybuf=NULL; char *sdl_pastebuf=NULL; -#endif #if !defined(NO_X) && defined(__unix__) #include "SDL_syswm.h" -- GitLab