Skip to contentSkip to conversation

configure: Fix wrong preprocessor statement

PATCH Applied Stefan Weil 2 participants 2 messages Apr 6, 2012 – Apr 10, 2012

lore
Share & tools
lore
#0 lore raw

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.

---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
configure +1 -1
index 4b3adc9..5d5b854 100755
@@ -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