qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] SDL/SDL.h breaks vl.c on MinGW


From: Pierre d'Herbemont
Subject: Re: [Qemu-devel] SDL/SDL.h breaks vl.c on MinGW
Date: Fri, 9 Jul 2004 21:13:35 +0200

You have to include it on Darwin/Mac OS X. So it is not the proper fix.

Pierre

Index: vl.c
===================================================================
RCS file: /cvsroot/qemu/qemu/vl.c,v
retrieving revision 1.88
diff -u -r1.88 vl.c
--- vl.c        8 Jul 2004 21:17:50 -0000       1.88
+++ vl.c        9 Jul 2004 19:12:42 -0000
@@ -65,7 +65,9 @@
 #endif

 #ifdef CONFIG_SDL
-#include <SDL/SDL.h>
+#ifdef __APPLE__
+# include <SDL/SDL.h>
+#endif
 #if defined(__linux__)
 /* SDL use the pthreads and they modify sigaction. We don't
    want that. */

Le 8 juil. 04, à 19:43, Tomasz B±tor a écrit :


Hi.
I don't know why it happens, but including SDL/SDL.h in vl.c
(CVS snapshot qemu-snapshot-2004-07-07_23.tar.bz2) breaks
QEMU on MinGW (it exits immediatelly with no output). Following
little patch fixes it:


diff -Nur vl-orig.c vl.c
--- vl-orig.c   Mon Jul  5 21:25:12 2004
+++ vl.c        Thu Jul  8 17:22:27 2004
@@ -65,7 +65,6 @@
 #endif

 #ifdef CONFIG_SDL
-#include <SDL/SDL.h>
 #if defined(__linux__)
 /* SDL use the pthreads and they modify sigaction. We don't
    want that. */


t.      

--
  Tomasz Bątor  e-mail: address@hidden  ICQ: 101194886
 ------ ---- -- - -  -    -   -  -  -   -    -  - - -- ---- ------
 "Push first the red button and then the blue button. No, wait..."
                     -- last words in a RPG game


_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]