Author: stepan Date: 2009-12-03 16:59:19 +0100 (Thu, 03 Dec 2009) New Revision: 85
Modified: trunk/qemu-0.11.0/serialice.h Log: Bail out if SerialICE is compiled for a target CPU other than x86 and x86-64. Non-x86 is simply not supported at this point in time.
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/qemu-0.11.0/serialice.h =================================================================== --- trunk/qemu-0.11.0/serialice.h 2009-12-02 18:14:10 UTC (rev 84) +++ trunk/qemu-0.11.0/serialice.h 2009-12-03 15:59:19 UTC (rev 85) @@ -27,6 +27,11 @@
#include "config-host.h"
+#include "config.h" +#if !defined(HOST_X86_64) && !defined(HOST_I386) +#error "SerialICE currently only supports x86 and x64 platforms." +#endif + extern const char *serialice_device; extern int serialice_active;