mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-06-28 20:21:45 +02:00
8 lines
187 B
Plaintext
8 lines
187 B
Plaintext
![]() |
#!/bin/sh
|
||
|
test -z "$1" && exit 1
|
||
|
echo "/* GENERATED */"
|
||
|
echo "#ifndef cursor_i_h"
|
||
|
echo "#define cursor_i_h"
|
||
|
sed -ne 's/^->"\(\S*\)" \(\d*\)/#define \1 \2/p' < $1 || exit $?
|
||
|
echo "#endif"
|