mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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>
|
||
|---|---|---|
| .. | ||
| bddb | ||
| easylogo | ||
| env | ||
| gdb | ||
| imls | ||
| logos | ||
| omap | ||
| scripts | ||
| updater | ||
| .gitignore | ||
| aisimage.c | ||
| aisimage.h | ||
| bin2header.c | ||
| bmp_logo.c | ||
| checkpatch.pl | ||
| default_image.c | ||
| envcrc.c | ||
| fdt_host.h | ||
| fit_image.c | ||
| gen_eth_addr.c | ||
| getline.c | ||
| getline.h | ||
| img2brec.sh | ||
| img2srec.c | ||
| imximage.c | ||
| imximage.h | ||
| jtagconsole | ||
| kwbimage.c | ||
| kwbimage.h | ||
| Makefile | ||
| mingw_support.c | ||
| mingw_support.h | ||
| mkenvimage.c | ||
| mkimage.c | ||
| mkimage.h | ||
| mpc86x_clk.c | ||
| mxsboot.c | ||
| ncb.c | ||
| netconsole | ||
| omapimage.c | ||
| omapimage.h | ||
| os_support.c | ||
| os_support.h | ||
| setlocalversion | ||
| ublimage.c | ||
| ublimage.h | ||
| ubsha1.c | ||
| xway-swap-bytes.c | ||