Commit 58aea1f7 authored by alex's avatar alex

windows standard c runtime sucks, match their renamed functions to normal ones

git-svn-id: http://svn.annodex.net/liboggz/trunk@2121 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 6a66c7b9
......@@ -50,6 +50,10 @@
/* #define DEBUG */
#ifdef WIN32
#define strcasecmp _stricmp
#endif
typedef struct {
OggzReadPacket read_packet;
int clipcount;
......
......@@ -38,7 +38,9 @@
#include <oggz/oggz.h>
#ifdef WIN32
#include <fcntl.h>
#include <fcntl.h>
#include <io.h>
#define snprintf _snprintf
#endif
static ogg_uint32_t
......
......@@ -51,6 +51,10 @@
/*#define DEBUG*/
#ifdef WIN32
#define strcasecmp _stricmp
#endif
#undef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
......
......@@ -48,6 +48,10 @@
#include <oggz/oggz.h>
#include "oggz_tools.h"
#ifdef WIN32
#define strcasecmp _stricmp
#endif
#define READ_SIZE 4096
#define WRITE_SIZE 4096
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment