-#ifdef WIN32
-#else
-#include <sys/time.h>
-#endif
-
/*
* Include this BEFORE darkplaces.h because it breaks wrapping
* _Static_assert. Cloudwalk has no idea how or why so don't ask.
#endif
#endif
-sys_t sys;
// =======================================================================
// General routines
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, title, string, NULL);
}
-char *Sys_GetClipboardData (void)
+char *Sys_SDL_GetClipboardData (void)
{
char *data = NULL;
char *cliptext;
size_t allocsize;
allocsize = min(MAX_INPUTLINE, strlen(cliptext) + 1);
data = (char *)Z_Malloc (allocsize);
- strlcpy (data, cliptext, allocsize);
+ dp_strlcpy (data, cliptext, allocsize);
SDL_free(cliptext);
}