First commit

This commit is contained in:
vladislav.khorev committed 2017-01-10 07:08:49 +03:00
commit 3b8e4ed9c9
1169 files changed
+411320

No files matched your search

+21
View File
@@ -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;
}
+1
View File
@@ -0,0 +1 @@
#ifndef __SYS_TYPES_H__␍#define __SYS_TYPES_H__ 1␍␍#include <MacTypes.h>␍#include <alloca.h>␍#include <string.h>␍␍typedef short int16_t;␍typedef long int32_t;␍typedef long long int64_t;␍␍#define vorbis_size32_t long␍␍␍#if defined(__cplusplus)␍extern "C" {␍#endif␍␍#pragma options align=power␍␍char *strdup(const char *inStr);␍␍#pragma options align=reset␍␍#if defined(__cplusplus)␍}␍#endif␍␍#endif /* __SYS_TYPES_H__ */␍