Fix compatibility with Universal Headers 3.1 (issue #15)

This commit is contained in:
Wolfgang Thaller 2015-01-21 23:48:04 +01:00
parent f363d6d0a7
commit 0bd7c6dcdf

View File

@ -6,7 +6,7 @@ export LANG=en
# cp $IN/[A-Z]*.h $OUT/
for file in $(cd $IN; ls [A-Z]*.h); do
tr '\r' '\n' < $IN/$file > $OUT/$file
tr '\r' '\n' < $IN/$file | sed 's/= \(0x[0-9A-Z]*\);/ONEWORDINLINE(\1);/' > $OUT/$file
done
cat > $OUT/ConditionalMacros.h <<END_MARKER