Revision d1722a27
b/configure | ||
---|---|---|
2461 | 2461 |
fdatasync=no |
2462 | 2462 |
cat > $TMPC << EOF |
2463 | 2463 |
#include <unistd.h> |
2464 |
int main(void) { return fdatasync(0); } |
|
2464 |
int main(void) { |
|
2465 |
#if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0 |
|
2466 |
return fdatasync(0); |
|
2467 |
#else |
|
2468 |
#abort Not supported |
|
2469 |
#endif |
|
2470 |
} |
|
2465 | 2471 |
EOF |
2466 | 2472 |
if compile_prog "" "" ; then |
2467 | 2473 |
fdatasync=yes |
Also available in: Unified diff