projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1457f
)
remove check for config.h and assume everyone has inttypes.h (C99); special workaroun...
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Thu, 2 Sep 2004 04:45:03 +0000
(
04:45
+0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Thu, 2 Sep 2004 04:45:03 +0000
(
04:45
+0000)
include/FLAC/ordinals.h
patch
|
blob
|
history
diff --git
a/include/FLAC/ordinals.h
b/include/FLAC/ordinals.h
index 27f8101876041c6948a93d4ca621760974c624f7..77ec76085e024a22a188646a7c48cd29bdcb21b8 100644
(file)
--- a/
include/FLAC/ordinals.h
+++ b/
include/FLAC/ordinals.h
@@
-32,22
+32,8
@@
#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;