qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PATCH] configure: Fix wrong preprocessor statement


From: Stefan Weil
Subject: [Qemu-trivial] [PATCH] configure: Fix wrong preprocessor statement
Date: Fri, 6 Apr 2012 21:33:20 +0200

#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 <address@hidden>
---
 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




reply via email to

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