remove check for config.h and assume everyone has inttypes.h (C99); special workaroun...
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 2 Sep 2004 04:45:03 +0000 (04:45 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 2 Sep 2004 04:45:03 +0000 (04:45 +0000)
include/FLAC/ordinals.h

index 27f8101..77ec760 100644 (file)
 #ifndef FLAC__ORDINALS_H
 #define FLAC__ORDINALS_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#ifdef HAVE_INTTYPES_H
+#ifndef _MSC_VER
 #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
 
 typedef signed char FLAC__int8;