mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 04:30:45 +02:00
Add libvorbis 1.3.3.
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;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
#ifndef __SYS_TYPES_H__
|
||||
Reference in New Issue
Block a user