mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Apple fixes
This commit is contained in:
parent
43b69023f6
commit
9f3fded709
23 changed files with 847 additions and 425 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue