[WIN32] removed ogg/vorbis sources and binaries from our repo
[vuplus_xbmc] / lib / win32 / vorbisfile / libvorbis / macos / compat / strdup.c
diff --git a/lib/win32/vorbisfile/libvorbis/macos/compat/strdup.c b/lib/win32/vorbisfile/libvorbis/macos/compat/strdup.c
deleted file mode 100644 (file)
index 2ef4279..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#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;
-}