Skip to content

Commit

Permalink
emscripten: fix unresolved symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
tbfleming committed Oct 24, 2015
1 parent 5fbe7c0 commit 8c592ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coreutils/test_ptr_hack.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct test_statics;

/* We cheat here. It is declared as const ptr in libbb.h,
* but here we make it live in R/W memory */
struct test_statics *test_ptr_to_statics;
struct test_statics *test_ptr_to_statics = 0;

#else

Expand Down
2 changes: 1 addition & 1 deletion libbb/lineedit_ptr_hack.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct lineedit_statics;

/* We cheat here. It is declared as const ptr in libbb.h,
* but here we make it live in R/W memory */
struct lineedit_statics *lineedit_ptr_to_statics;
struct lineedit_statics *lineedit_ptr_to_statics = 0;

#else

Expand Down
2 changes: 1 addition & 1 deletion libbb/ptr_to_globals.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct globals;

/* We cheat here. It is declared as const ptr in libbb.h,
* but here we make it live in R/W memory */
struct globals *ptr_to_globals;
struct globals *ptr_to_globals = 0;

#ifdef __GLIBC__
int *bb_errno;
Expand Down

0 comments on commit 8c592ed

Please sign in to comment.