Skip to content
Snippets Groups Projects

Support TIC6X

Open wzy requested to merge Freed-Wu/x264:master into master
5 files
+ 71
1
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 4
0
@@ -31,8 +31,10 @@
#include <sys/types.h>
#include <sys/timeb.h>
#else
#ifndef SYS_NONE
#include <sys/time.h>
#endif
#endif
#include <time.h>
#if PTW32_STATIC_LIB
@@ -50,6 +52,8 @@ int64_t x264_mdate( void )
struct timespec ts;
clock_gettime( CLOCK_MONOTONIC, &ts );
return (int64_t)ts.tv_sec * 1000000 + (int64_t)ts.tv_nsec / 1000;
#elif SYS_NONE
return 0;
#else
struct timeval tv_date;
gettimeofday( &tv_date, NULL );
Loading