condition modified

This commit is contained in:
kanjitalk755 2020-02-07 11:16:59 +09:00
parent 1a875b1c10
commit ccf38a4005
2 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ struct sigstate {
# ifdef HAVE_GNOMEUI
# include <gnome.h>
# endif
# ifndef GDK_WINDOWING_WAYLAND
# if !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
# include <X11/Xlib.h>
# endif
#endif
@ -387,7 +387,7 @@ static void usage(const char *prg_name)
int main(int argc, char **argv)
{
#if defined(ENABLE_GTK) && !defined(GDK_WINDOWING_WAYLAND)
#if defined(ENABLE_GTK) && !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
XInitThreads();
#endif
const char *vmdir = NULL;

View File

@ -133,7 +133,7 @@
#ifdef ENABLE_GTK
#include <gtk/gtk.h>
#ifndef GDK_WINDOWING_WAYLAND
#if !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
#include <X11/Xlib.h>
#endif
#endif
@ -731,7 +731,7 @@ static bool init_sdl()
int main(int argc, char **argv)
{
#if defined(ENABLE_GTK) && !defined(GDK_WINDOWING_WAYLAND)
#if defined(ENABLE_GTK) && !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
XInitThreads();
#endif
char str[256];