Skip to content

Commit

Permalink
Fix libunwind stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Jun 26, 2022
1 parent 5cd0e87 commit 893cc06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/libc/runtime/unwind.c → libc/runtime/unwind.c
Expand Up @@ -16,7 +16,7 @@
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
│ PERFORMANCE OF THIS SOFTWARE. │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "test/libc/runtime/unwind.h"
#include "libc/runtime/unwind.h"

// temporary stubs for libunwind

Expand Down
6 changes: 3 additions & 3 deletions test/libc/runtime/unwind.h → libc/runtime/unwind.h
@@ -1,5 +1,5 @@
#ifndef COSMOPOLITAN_TEST_LIBC_RUNTIME_UNWIND_H_
#define COSMOPOLITAN_TEST_LIBC_RUNTIME_UNWIND_H_
#ifndef COSMOPOLITAN_LIBC_RUNTIME_UNWIND_H_
#define COSMOPOLITAN_LIBC_RUNTIME_UNWIND_H_

#define UNW_TDEP_CURSOR_LEN 127

Expand Down Expand Up @@ -39,4 +39,4 @@ void *_Unwind_FindEnclosingFunction(void *);

COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_TEST_LIBC_RUNTIME_UNWIND_H_ */
#endif /* COSMOPOLITAN_LIBC_RUNTIME_UNWIND_H_ */

0 comments on commit 893cc06

Please sign in to comment.