Mercurial > mplayer.hg
view osdep/gettimeofday.c @ 17645:8db0816a9226
upport another G4 flavour: MPC7447* chips.
(MPC7448, MPC7445 and MPC7457 are still not supported currently, but it remains to be seen if they have been used in any real computer.)
author | gpoirier |
---|---|
date | Sat, 18 Feb 2006 20:04:42 +0000 |
parents | 08cac43f1e38 |
children | 936209c39ed1 |
line wrap: on
line source
#include "config.h" #ifndef HAVE_GETTIMEOFDAY #include <sys/time.h> #include <sys/timeb.h> void gettimeofday(struct timeval* t,void* timezone) { struct timeb timebuffer; ftime( &timebuffer ); t->tv_sec=timebuffer.time; t->tv_usec=1000*timebuffer.millitm; } #endif