1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Apple fixes

This commit is contained in:
Brian Fiete 2019-10-29 05:01:04 -07:00
parent 43b69023f6
commit 9f3fded709
23 changed files with 847 additions and 425 deletions

View file

@ -6,4 +6,13 @@
#define lseek64 lseek
#define ftruncate64 ftruncate
#include "../posix/PosixCommon.cpp"
#include "../posix/PosixCommon.cpp"
char* itoa(int value, char* str, int base)
{
if (base == 16)
sprintf(str, "%X", value);
else
sprintf(str, "%d", value);
return str;
}