Builds for Haiku.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4584 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-10-26 02:56:33 +00:00
parent b695a4ba3b
commit 68f5827dee
7 changed files with 60 additions and 22 deletions

View File

@ -436,6 +436,10 @@ void tf_free(void* ptr)
char* tf_strdup(const char* string)
{
if (!string)
{
return NULL;
}
size_t len = strlen(string);
char* buffer = tf_malloc(len + 1);
if ( buffer)