* [Qemu-trivial] [PATCH] configure: Fix wrong preprocessor statement
@ 2012-04-06 19:33 Stefan Weil
2012-04-10 13:01 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2012-04-06 19:33 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, Stefan Weil
#abort is not a preprocessor statement. It aborts, but the preprocessor
statement #error is more common to abort a compilation.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 4b3adc9..5d5b854 100755
--- a/configure
+++ b/configure
@@ -2616,7 +2616,7 @@ int main(void) {
#if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0
return fdatasync(0);
#else
-#abort Not supported
+#error Not supported
#endif
}
EOF
--
1.7.9
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-trivial] [PATCH] configure: Fix wrong preprocessor statement
2012-04-06 19:33 [Qemu-trivial] [PATCH] configure: Fix wrong preprocessor statement Stefan Weil
@ 2012-04-10 13:01 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2012-04-10 13:01 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-trivial, qemu-devel
On Fri, Apr 06, 2012 at 09:33:20PM +0200, Stefan Weil wrote:
> #abort is not a preprocessor statement. It aborts, but the preprocessor
> statement #error is more common to abort a compilation.
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
> configure | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-10 13:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-06 19:33 [Qemu-trivial] [PATCH] configure: Fix wrong preprocessor statement Stefan Weil
2012-04-10 13:01 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).