mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-29 04:25:55 -04:00
42688a8366
on Linux for uint64_t, but Solaris defines this in sys/types.h. Use check where appropriate, and also add typedefs for Win32. svn path=/trunk/icecast/; revision=2206
17 lines
348 B
C
17 lines
348 B
C
/* compat.h
|
|
*
|
|
* This file contains most of the ugliness for header portability
|
|
* and common types across various systems like Win32, Linux and
|
|
* Solaris.
|
|
*/
|
|
|
|
/* Make sure we define 64 bit types */
|
|
#ifdef _WIN32
|
|
# define int64_t __int64
|
|
# define uint64_t unsigned __int64
|
|
#else
|
|
# ifdef HAVE_STDINT_H
|
|
# include <stdint.h>
|
|
# endif
|
|
#endif
|