fix: enable 32-bit Mac libuv build and add explicit Linux pthread/rt linking

This commit is contained in:
Bob Nystrom
2015-08-16 17:28:55 +00:00
parent ef721ee355
commit 83fbc7b27f
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ static void startTimer(WrenVM* vm)
char* timerGetSource()
{
size_t length = strlen(timerLibSource);
char* copy = malloc(length + 1);
char* copy = (char*)malloc(length + 1);
strncpy(copy, timerLibSource, length);
return copy;