mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user