message: util: Refactor FileCommit from an #if sequence nested in #else, to a sequence of #elif
  This should not change the actual code generation.
diff: @@ -1048,8 +1048,7 @@ bool FileCommit(FILE *file)
  LogPrintf("%s: FlushFileBuffers failed: %d\n", __func__, GetLastError());
  return false;
  }
  -#else
  - #if HAVE_FDATASYNC
  +#elif HAVE_FDATASYNC
  if (fdatasync(fileno(file)) != 0 && errno != EINVAL) { // Ignore EINVAL for filesystems that don't support sync
  LogPrintf("%s: fdatasync failed: %d\n", __func__, errno);
  return false;
  @@ -1065,7 +1064,6 @@ bool FileCommit(FILE *file)
  return false;
  }
  #endif
  -#endif
  return true;
  }
  