mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-11-03 04:17:20 -05:00
5ef3b00332
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
17 lines
296 B
C
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__ */
|