diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-06-15 18:31:56 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-06-15 18:31:56 +0000 |
commit | 22e1e729600dad1639329185614d094243409359 (patch) | |
tree | addcd6c187e2aed6deec88d20b0df99ca3559eec /configure | |
parent | c235d7387c850857ec6b0ba8ee28c7e1548f68c0 (diff) | |
parent | f97742d0d36810ea72a2bd40b3abb890589ea3b8 (diff) | |
download | qemu-22e1e729600dad1639329185614d094243409359.zip qemu-22e1e729600dad1639329185614d094243409359.tar.gz qemu-22e1e729600dad1639329185614d094243409359.tar.bz2 |
Merge branch 'cocoa-for-upstream' of git://repo.or.cz/qemu/afaerber
* 'cocoa-for-upstream' of git://repo.or.cz/qemu/afaerber:
Darwin: Fix compilation warning regarding the deprecated daemon() function
cocoa: Avoid warning related to multiple handleEvent: definitions
cocoa: Revert dependency on VNC
cocoa: Provide central qemu_main() prototype
Fix libfdt warnings on Darwin
configure: Fix check for fdatasync()
Remove warning in printf due to type mismatch
Cocoa: avoid displaying window when command-line contains '-h' or '-help'
Fix compilation warning due to incorrectly specified type
cocoa: do not create a spurious window for -version
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2473,7 +2473,13 @@ fi fdatasync=no cat > $TMPC << EOF #include <unistd.h> -int main(void) { return fdatasync(0); } +int main(void) { +#if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0 +return fdatasync(0); +#else +#abort Not supported +#endif +} EOF if compile_prog "" "" ; then fdatasync=yes |