2013-03-08 20:16:11 +00:00
|
|
|
--- a/tools/mkimage.c
|
|
|
|
+++ b/tools/mkimage.c
|
2013-05-05 20:11:04 +00:00
|
|
|
@@ -464,6 +464,7 @@ NXTARG: ;
|
2013-03-07 17:32:29 +00:00
|
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
|
|
!defined(__sun__) && \
|
|
|
|
!defined(__FreeBSD__) && \
|
|
|
|
+ !defined(__OpenBSD__) && \
|
|
|
|
!defined(__APPLE__)
|
|
|
|
(void) fdatasync (ifd);
|
|
|
|
#else
|
2013-05-05 20:11:04 +00:00
|
|
|
@@ -507,6 +508,7 @@ NXTARG: ;
|
2013-03-07 17:32:29 +00:00
|
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
|
|
!defined(__sun__) && \
|
|
|
|
!defined(__FreeBSD__) && \
|
|
|
|
+ !defined(__OpenBSD__) && \
|
|
|
|
!defined(__APPLE__)
|
|
|
|
(void) fdatasync (ifd);
|
|
|
|
#else
|