Large patch from Ben Allison fixing the MSVC build.

Patch tweaked a little to fix Linux build and clean up minor problems.
This commit is contained in:
Erik de Castro Lopo
2013-03-06 22:17:46 +11:00
parent 91790ef965
commit a4c321e492
10 changed files with 59 additions and 10 deletions

View File

@@ -31,10 +31,8 @@
#include <stdio.h>
#include <stdlib.h>
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include "FLAC++/decoder.h"
#include "share/compat.h"
static FLAC__uint64 total_samples = 0;
static unsigned sample_rate = 0;

View File

@@ -32,11 +32,9 @@
#include <stdlib.h>
#include <string.h>
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include "FLAC++/metadata.h"
#include "FLAC++/encoder.h"
#include "share/compat.h"
#include <cstring>