configure: Fix wrong preprocessor statement
PATCH 1/1 configure: Fix wrong preprocessor statement
#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 <[email protected]>
--- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
configure +1 -1
@@ -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
Signature · 1 line
1.7.9
Stefan Hajnoczi
AppliedQuoted 7 lines · 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 <[email protected]>--- 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