Mercurial > mplayer.hg
view osdep/gettimeofday.c @ 10837:c2bc178d109c
Add libogg if Theora is wanted (might be missing if Tremor is used instead of Vorbis). Patch by Gtz Waschk <waschk@informatik.uni-rostock.de>
author | mosu |
---|---|
date | Sun, 07 Sep 2003 18:06:27 +0000 |
parents | 5c639ec8c39e |
children | 08cac43f1e38 |
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