Mercurial > audlegacy-plugins
diff src/alac/stream.h @ 330:74df3bd6f472 trunk
[svn] - portability fixes:
+ use old inttypes.h if stdint.h is not available
+ use NULL instead of 0 when dealing with pointers
| author | nenolod |
|---|---|
| date | Mon, 04 Dec 2006 13:50:33 -0800 |
| parents | 56c88eee9802 |
| children | ed6c81bd9016 |
line wrap: on
line diff
--- a/src/alac/stream.h Mon Dec 04 13:18:25 2006 -0800 +++ b/src/alac/stream.h Mon Dec 04 13:50:33 2006 -0800 @@ -3,7 +3,15 @@ /* stream.h */ -#include <stdint.h> +#include "config.h" + +#if HAVE_STDINT_H +# include <stdint.h> +#else +# if HAVE_INTTYPES_H +# include <inttypes.h> +# endif +#endif #include <audacious/plugin.h> #include <audacious/vfs.h>
