Changeset 29984 for branches/backfire


Ignore:
Timestamp:
2012-02-01T22:17:54+01:00 (4 years ago)
Author:
jow
Message:

[backfire] mkimage: backport Darwin 10.7 fix from r27917

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/tools/mkimage/patches/100-portability.patch

    r19095 r29984  
    11--- a/tools/kwbimage.c 
    22+++ b/tools/kwbimage.c 
    3 @@ -206,6 +206,28 @@ INVL_DATA: 
     3@@ -206,6 +206,30 @@ INVL_DATA: 
    44        exit (EXIT_FAILURE); 
    55 } 
    66  
    77+#ifndef __GLIBC__ 
     8+#if !defined(__APPLE__) || __DARWIN_C_LEVEL < 200809L 
    89+static ssize_t 
    910+getline(char **line, size_t *len, FILE *fd) 
     
    2627+} 
    2728+#endif 
     29+#endif 
    2830+ 
    2931 /* 
Note: See TracChangeset for help on using the changeset viewer.