Message ID | 1333740800-721-1-git-send-email-sw@weilnetz.de |
---|---|
State | Accepted |
Headers | show |
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
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
#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(-)