mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 07:37:38 +01:00
Also handle C++ files (.cxx).
(Logical change 1.70)
This commit is contained in:
parent
294a1e55cc
commit
c2e6b4ced0
1 changed files with 7 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
for gname in G*.c G*.cxx; do
|
||||||
|
lname="L$(expr $gname : '.\(.*\)')"
|
||||||
|
bk edit $lname >/dev/null 2>&1
|
||||||
|
echo -e "#ifndef UNW_REMOTE_ONLY\n#define UNW_LOCAL_ONLY\n\
|
||||||
|
#include \"$gname\"\n#endif" > $lname
|
||||||
|
done
|
Loading…
Reference in a new issue