Skip to content

Commit

Permalink
Add libpng port
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemanga committed Oct 15, 2023
1 parent 0c976ae commit c7b295d
Show file tree
Hide file tree
Showing 6 changed files with 10,136 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ extern "C" int _isatty(int fd){
return fd < 3;
}

extern "C" int _unlink(const char* name) {
puts("unlinking file");
return -1;
}

extern "C" int _open(const char* name, const char* mode){
return vmOpen(name, mode);
};
Expand Down
Loading

0 comments on commit c7b295d

Please sign in to comment.