mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Move FLAC__STRCASECMP definition to compat.h.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
@@ -88,8 +88,10 @@
|
|||||||
#define FLAC__U64L(x) x##ULL
|
#define FLAC__U64L(x) x##ULL
|
||||||
|
|
||||||
#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
|
#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
|
||||||
|
#define FLAC__STRCASECMP stricmp
|
||||||
#define FLAC__STRNCASECMP strnicmp
|
#define FLAC__STRNCASECMP strnicmp
|
||||||
#else
|
#else
|
||||||
|
#define FLAC__STRCASECMP strcasecmp
|
||||||
#define FLAC__STRNCASECMP strncasecmp
|
#define FLAC__STRNCASECMP strncasecmp
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -46,12 +46,6 @@
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "vorbiscomment.h"
|
#include "vorbiscomment.h"
|
||||||
|
|
||||||
#if defined _MSC_VER || defined __MINGW32__
|
|
||||||
#define FLAC__STRCASECMP stricmp
|
|
||||||
#else
|
|
||||||
#define FLAC__STRCASECMP strcasecmp
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/*[JEC] was:#if HAVE_GETOPT_LONG*/
|
/*[JEC] was:#if HAVE_GETOPT_LONG*/
|
||||||
/*[JEC] see flac/include/share/getopt.h as to why the change */
|
/*[JEC] see flac/include/share/getopt.h as to why the change */
|
||||||
|
|||||||
@@ -242,11 +242,6 @@ static char *local__get_field_(char **s, FLAC__bool allow_quotes)
|
|||||||
|
|
||||||
static FLAC__bool local__cuesheet_parse_(FILE *file, const char **error_message, unsigned *last_line_read, FLAC__StreamMetadata *cuesheet, unsigned sample_rate, FLAC__bool is_cdda, FLAC__uint64 lead_out_offset)
|
static FLAC__bool local__cuesheet_parse_(FILE *file, const char **error_message, unsigned *last_line_read, FLAC__StreamMetadata *cuesheet, unsigned sample_rate, FLAC__bool is_cdda, FLAC__uint64 lead_out_offset)
|
||||||
{
|
{
|
||||||
#if defined _MSC_VER || defined __MINGW32__
|
|
||||||
#define FLAC__STRCASECMP stricmp
|
|
||||||
#else
|
|
||||||
#define FLAC__STRCASECMP strcasecmp
|
|
||||||
#endif
|
|
||||||
char buffer[4096], *line, *field;
|
char buffer[4096], *line, *field;
|
||||||
unsigned forced_leadout_track_num = 0;
|
unsigned forced_leadout_track_num = 0;
|
||||||
FLAC__uint64 forced_leadout_track_offset = 0;
|
FLAC__uint64 forced_leadout_track_offset = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user