annotate osdep/gettimeofday.c @ 11330:a974c00c779d

Removed temporary .cpp file used during the Matroska test. Updated the libebml and libmatroska requirements to at least v0.6.0 for both. There have been changes in the lacing code, and users WILL come and complain why mplayer, linked against older versions, will have issues playing newer files.
author mosu
date Thu, 30 Oct 2003 14:57:06 +0000
parents 5c639ec8c39e
children 08cac43f1e38
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9834
5c639ec8c39e Unbreak
rguyom
parents: 9829
diff changeset
1 #include "../config.h"
9829
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
2
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
3 #ifndef HAVE_GETTIMEOFDAY
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
4 #include <sys/time.h>
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
5 #include <sys/timeb.h>
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
6 void gettimeofday(struct timeval* t,void* timezone)
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
7 { struct timeb timebuffer;
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
8 ftime( &timebuffer );
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
9 t->tv_sec=timebuffer.time;
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
10 t->tv_usec=1000*timebuffer.millitm;
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
11 }
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
12 #endif