1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-11-03 04:17:20 -05:00
icecast-common/timing/timing.h
Jack Moffitt 5ef3b00332 Add check for stdint.h, since Solaris doesn't have it. This is needed
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/timing/; revision=2206
2001-10-20 21:28:09 +00:00

17 lines
296 B
C

#ifndef __TIMING_H__
#define __TIMING_H__
#include <sys/types.h>
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef _WIN32
typedef int64_t __int64;
typedef uint64_t unsigned __int64;
#endif
uint64_t timing_get_time(void);
void timing_sleep(uint64_t sleeptime);
#endif /* __TIMING_H__ */