mirror of
https://github.com/love2d/love-android.git
synced 2026-08-21 21:15:34 +02:00
updated libvorbis to 1.3.4 and libogg to 1.3.1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include <ogg/os_types.h>
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
char *strdup(const char *inStr)
|
||||
{
|
||||
char *outStr = NULL;
|
||||
|
||||
if (inStr == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
outStr = _ogg_malloc(strlen(inStr) + 1);
|
||||
|
||||
if (outStr != NULL) {
|
||||
strcpy(outStr, inStr);
|
||||
}
|
||||
|
||||
return outStr;
|
||||
}
|
||||
Reference in New Issue
Block a user