mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Patch from JonY to remove more CPP hackery.
This commit is contained in:
@@ -23,23 +23,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> /* for malloc() */
|
||||
#include <string.h> /* for memcpy()/memset() */
|
||||
#if defined _MSC_VER || defined __MINGW32__
|
||||
#include <sys/utime.h> /* for utime() */
|
||||
#include <io.h> /* for chmod() */
|
||||
#if _MSC_VER <= 1600 /* @@@ [2G limit] */
|
||||
#define fseeko fseek
|
||||
#define ftello ftell
|
||||
#endif
|
||||
#else
|
||||
#include <sys/types.h> /* some flavors of BSD (like OS X) require this to get time_t */
|
||||
#include <utime.h> /* for utime() */
|
||||
#include <unistd.h> /* for chown(), unlink() */
|
||||
#endif
|
||||
#include <sys/stat.h> /* for stat(), maybe chmod() */
|
||||
#include "FLAC/assert.h"
|
||||
#include "FLAC++/decoder.h"
|
||||
#include "FLAC++/metadata.h"
|
||||
#include "share/grabbag.h"
|
||||
#include "share/compat.h"
|
||||
extern "C" {
|
||||
#include "test_libs_common/file_utils_flac.h"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user