All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] MACOSX support
@ 2007-04-20 16:20 Aubrey Li
  2007-05-11 22:04 ` [U-Boot-Users] Non-Board specific patches - how to handle? Was: " Robin Getz
  0 siblings, 1 reply; 8+ messages in thread
From: Aubrey Li @ 2007-04-20 16:20 UTC (permalink / raw)
  To: u-boot

The following patch fixes compilation issue on macosx

Singed-off-by: Marc Hoffman <Marc.Hoffman@analog.com>
Signed-off-by: Aubrey Li <aubrey.adi@gmail.com>
---
 tools/mkimage.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mkimage.c b/tools/mkimage.c
index 416e658..2125130 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -446,7 +446,7 @@ NXTARG:		;
 	}

 	/* We're a bit of paranoid */
-#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
!defined(__FreeBSD__)
+#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
!defined(__FreeBSD__) && !defined(__APPLE__)
 	(void) fdatasync (ifd);
 #else
 	(void) fsync (ifd);
@@ -496,7 +496,7 @@ NXTARG:		;
 	(void) munmap((void *)ptr, sbuf.st_size);

 	/* We're a bit of paranoid */
-#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
!defined(__FreeBSD__)
+#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
!defined(__FreeBSD__) && !defined(__APPLE__)
 	(void) fdatasync (ifd);
 #else
 	(void) fsync (ifd);
-- 
1.5.0.6

-Aubrey

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-05-14 20:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 16:20 [U-Boot-Users] [PATCH] MACOSX support Aubrey Li
2007-05-11 22:04 ` [U-Boot-Users] Non-Board specific patches - how to handle? Was: " Robin Getz
2007-05-11 22:37   ` Wolfgang Denk
2007-05-11 23:18     ` Robin Getz
2007-05-11 23:49       ` [U-Boot-Users] "ERROR : memory not allocated" during HUSH script execution Leonid
2007-05-12 14:21         ` Wolfgang Denk
2007-05-14 17:08       ` [U-Boot-Users] Non-Board specific patches - how to handle? Was: [PATCH] MACOSX support Timur Tabi
2007-05-14 20:39         ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.