Check-in [bc97582608]
Overview
Comment:Updated to ignore clang limits.h
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bc9758260816c4a6fc5aa3c03a6d5577a69e6f7c
User & Date: rkeene on 2014-06-21 18:20:05
Other Links: manifest | tags
Context
2014-06-21
18:26
Fixed typo check-in: d680a4ffbf user: rkeene tags: trunk
18:20
Updated to ignore clang limits.h check-in: bc97582608 user: rkeene tags: trunk
18:10
Updated to remove warnings from cdefs.h (Mac OS X) check-in: f9d0cb87bf user: rkeene tags: trunk
Changes

Modified patch-headers.sh from [9b3f679ed5] to [c30cc4c3b3].

    27     27   	rm -f asm/posix_types.h.new
    28     28   fi
    29     29   
    30     30   # Busted wrapper fix-up
    31     31   if grep '__STDC_HOSTED__' stdint.h >/dev/null 2>/dev/null && grep '_GCC_WRAP_STDINT_H' stdint.h >/dev/null 2>/dev/null; then
    32     32   	echo '#include_next <stdint.h>' > stdint.h
    33     33   fi
           34  +
           35  +if grep '__CLANG_LIMITS_H' limits.h >/dev/null 2>/dev/null; then
           36  +	echo '#include_next <limits.h>' > limits.h
           37  +fi
    34     38   
    35     39   # MUSL libc expects GCC
    36     40   if grep ' __builtin_va_list ' bits/alltypes.h >/dev/null 2>/dev/null; then
    37     41   	sed 's@ __builtin_va_list @ char * @' bits/alltypes.h > bits/alltypes.h.new
    38     42   	cat bits/alltypes.h.new > bits/alltypes.h
    39     43   	rm -f bits/alltypes.h.new
    40     44   fi