Mercurial > hg > audiostuff
diff spandsp-0.0.6pre17/src/msvc/sys/time.h @ 4:26cd8f1ef0b1
import spandsp-0.0.6pre17
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 15:50:58 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spandsp-0.0.6pre17/src/msvc/sys/time.h Fri Jun 25 15:50:58 2010 +0200 @@ -0,0 +1,21 @@ +/* + * SpanDSP - a series of DSP components for telephony + * + * sys/time.h - a fudge for MSVC, which lacks this header + * + * Written by Steve Underwood <steveu@coppice.org> + * + * Copyright (C) 2006 Michael Jerris + * + * + * This file is released in the public domain. + * + */ + +struct timeval +{ + long int tv_sec; + long int tv_usec; +}; + +extern void gettimeofday(struct timeval *tv, void *tz);