Overview
Comment: | Updated to remove warnings from cdefs.h (Mac OS X) |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f9d0cb87bf071d6b848b442404456d6a |
User & Date: | rkeene on 2014-06-21 18:10:08 |
Other Links: | manifest | tags |
Context
2014-06-21
| ||
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 | |
18:06 | Updated to use actual call to Tcl_InitStubs() check-in: 273c2a2e9a user: rkeene tags: trunk | |
Changes
Modified patch-headers.sh from [c338a964f0] to [9b3f679ed5].
1 2 3 4 5 6 7 8 9 10 | #! /bin/bash headers_dir="$1" cd "${headers_dir}" || exit 1 # Android header fix-ups ## Do not abort compilation at header include time if grep '^#error "No function renaming possible"' sys/cdefs.h >/dev/null 2>/dev/null; then awk ' | | > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #! /bin/bash headers_dir="$1" cd "${headers_dir}" || exit 1 # Android header fix-ups ## Do not abort compilation at header include time if grep '^#error "No function renaming possible"' sys/cdefs.h >/dev/null 2>/dev/null; then awk ' /^#error "No function renaming possible"/{ print "#define __RENAME(x) no renaming on this platform" next } {print} /^#warning /{ next } ' sys/cdefs.h > sys/cdefs.h.new cat sys/cdefs.h.new > sys/cdefs.h rm -f sys/cdefs.h.new fi ## loff_t depends on __GNUC__ for some reason if awk -v retval=1 '/__GNUC__/{ getline; if ($0 ~ /__kernel_loff_t/) {retval=0} } END{exit retval}' asm/posix_types.h >/dev/null 2>/dev/null; then |
︙ | ︙ |