Commit 9c551a93 authored by Josh Coalson's avatar Josh Coalson
Browse files

remove check for config.h and assume everyone has inttypes.h (C99); special...

remove check for config.h and assume everyone has inttypes.h (C99); special workaround for MSVC still exists
parent da1457f0
...@@ -32,22 +32,8 @@ ...@@ -32,22 +32,8 @@
#ifndef FLAC__ORDINALS_H #ifndef FLAC__ORDINALS_H
#define FLAC__ORDINALS_H #define FLAC__ORDINALS_H
#ifdef HAVE_CONFIG_H #ifndef _MSC_VER
#include <config.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h> #include <inttypes.h>
#elif defined(HAVE_U_INT)
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#define uint8_t u_int8_t
#define uint16_t u_int16_t
#define uint32_t u_int32_t
#define uint64_t u_int64_t
#elif !defined(_MSC_VER)
#error Unable to find fixed-size data types
#endif #endif
typedef signed char FLAC__int8; typedef signed char FLAC__int8;
......
Supports Markdown
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