fix NO_X11 option support

This commit is contained in:
Thomas BERNARD 2018-09-14 17:23:52 +02:00
parent 1d1be59ec1
commit 00cbe729b2

View File

@ -438,7 +438,7 @@ bye:
char * utf8_str = SDL_GetClipboardText(); char * utf8_str = SDL_GetClipboardText();
if (utf8_str != NULL) if (utf8_str != NULL)
{ {
#elif defined(USE_X11) || (defined(USE_SDL) && defined(SDL_VIDEO_DRIVER_X11)) #elif defined(USE_X11) || (defined(USE_SDL) && defined(SDL_VIDEO_DRIVER_X11) && !defined(NO_X11))
{ {
int i; int i;
Atom selection; Atom selection;