[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/6] configure: Fix wrong preprocessor statement
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 2/6] configure: Fix wrong preprocessor statement |
Date: |
Fri, 13 Apr 2012 10:39:12 +0100 |
From: Stefan Weil <address@hidden>
#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>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 5aaafa1..b392c6f 100755
--- a/configure
+++ b/configure
@@ -2624,7 +2624,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.5
- [Qemu-devel] [PULL 0/6] Trivial patches for 4 to 13 April 2012, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 5/6] bsd-user: fix compile failure, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 1/6] configure: Remove useless uses of ARCH_CFLAGS, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 6/6] configure: Insist on a Python 2, not Python 3, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 3/6] make: Always set LC_ALL=C for makeinfo, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 2/6] configure: Fix wrong preprocessor statement,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 4/6] ps2: avoid repeated header file includes, Stefan Hajnoczi, 2012/04/13
- Re: [Qemu-devel] [PULL 0/6] Trivial patches for 4 to 13 April 2012, Anthony Liguori, 2012/04/13