diff options
Diffstat (limited to 'lib/libdvd/libdvdnav/msvc/include/timer.h')
-rwxr-xr-x | lib/libdvd/libdvdnav/msvc/include/timer.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/libdvd/libdvdnav/msvc/include/timer.h b/lib/libdvd/libdvdnav/msvc/include/timer.h deleted file mode 100755 index efab6f4e18..0000000000 --- a/lib/libdvd/libdvdnav/msvc/include/timer.h +++ /dev/null @@ -1,39 +0,0 @@ -#include <time.h> -#include <winsock.h> -#include "pthread.h" - -#ifndef _ITIMER_ -#define _ITIMER_ - -#define ITIMER_REAL 0 -#define ITIMER_VIRTUAL 1 - -// time reference -// ---------------------------------- -// -// 1,000 milliseconds / sec -// 1,000,000 microseconds / sec -// 1,000,000,000 nanoseconds / sec -// -// timeval.time_sec = seconds -// timeval.time_usec = microseconds - -struct itimerval -{ - struct timeval it_interval; /* timer interval */ - struct timeval it_value; /* current value */ -}; - -struct timezone { - int tz_minuteswest; /* minutes west of Greenwich */ - int tz_dsttime; /* type of dst correction */ -}; - -int gettimeofday( struct timeval *tp, struct timezone *tzp ); -int setitimer( int which, struct itimerval * value, struct itimerval *ovalue ); -int pause( void ); - -unsigned int sleep( unsigned int seconds ); -int nanosleep( const struct timespec *rqtp, struct timespec *rmtp ); - -#endif
\ No newline at end of file |