Home
last modified time | relevance | path

Searched hist:"6 f261854" (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/tools/
H A Dos_support.c6f261854 Thu Nov 24 15:36:16 CST 2011 Andreas Bießmann <andreas.devel@googlemail.com> tools/os_support: add OS X Lion support

OS X Lion's c-library implements getline(), therefore prevent including the old
helper implementation for __DARWIN_C_LEVEL < 200809L.

Without this patch following error occours:

---8<---
In file included from os_support.h:32,
from img2srec.c:55:
getline.h:1: error: conflicting types for ‘getline’
/usr/include/stdio.h:449: error: previous declaration of ‘getline’ was
here
--->8---

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
H A Dos_support.h6f261854 Thu Nov 24 15:36:16 CST 2011 Andreas Bießmann <andreas.devel@googlemail.com> tools/os_support: add OS X Lion support

OS X Lion's c-library implements getline(), therefore prevent including the old
helper implementation for __DARWIN_C_LEVEL < 200809L.

Without this patch following error occours:

---8<---
In file included from os_support.h:32,
from img2srec.c:55:
getline.h:1: error: conflicting types for ‘getline’
/usr/include/stdio.h:449: error: previous declaration of ‘getline’ was
here
--->8---

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>