mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-04 23:29:36 +00:00
test for #24
This commit is contained in:
parent
7ad9ab0da2
commit
f5b277548b
@ -881,6 +881,9 @@ if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
|
|||||||
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
if [[ "$WANT_GTK" != "no" ]]; then
|
||||||
|
LIBS="$LIBS -lX11"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
elif [[ "x$WANT_MACOSX_GUI" != "xyes" ]]; then
|
elif [[ "x$WANT_MACOSX_GUI" != "xyes" ]]; then
|
||||||
VIDEOSRCS="video_x.cpp"
|
VIDEOSRCS="video_x.cpp"
|
||||||
|
4
BasiliskII/src/Unix/main_unix.cpp
Normal file → Executable file
4
BasiliskII/src/Unix/main_unix.cpp
Normal file → Executable file
@ -63,6 +63,7 @@ struct sigstate {
|
|||||||
# ifdef HAVE_GNOMEUI
|
# ifdef HAVE_GNOMEUI
|
||||||
# include <gnome.h>
|
# include <gnome.h>
|
||||||
# endif
|
# endif
|
||||||
|
# include <X11/Xlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_XF86_DGA
|
#ifdef ENABLE_XF86_DGA
|
||||||
@ -384,6 +385,9 @@ static void usage(const char *prg_name)
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
#ifdef ENABLE_GTK
|
||||||
|
XInitThreads();
|
||||||
|
#endif
|
||||||
const char *vmdir = NULL;
|
const char *vmdir = NULL;
|
||||||
char str[256];
|
char str[256];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user