Commit 287ed24d authored by giles's avatar giles

Include inttypes.h from the compatibility header if it's available and stdint.h is not. This

provides the stdint types on solaris and a number of other non-C99 platforms.

svn path=/trunk/icecast/; revision=5925
parent 5323b27c
...@@ -23,7 +23,9 @@ ...@@ -23,7 +23,9 @@
# define uint64_t unsigned __int64 # define uint64_t unsigned __int64
# define uint32_t unsigned int # define uint32_t unsigned int
#else #else
# ifdef HAVE_STDINT_H # if defined(HAVE_STDINT_H)
# include <stdint.h> # include <stdint.h>
# elif defined(HAVE_INTTYPES_H)
# include <inttypes.h>
# endif # endif
#endif #endif
Markdown is supported
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