OpenSSL 1.0.1 update
[tomato.git] / release / src / router / transmission / third-party / libnatpmp / wingettimeofday.h
blobed6c599ee4adf4cb91312a1a364efe9ccc73b0c5
1 /* $Id: wingettimeofday.h,v 1.1 2009/12/19 12:02:42 nanard Exp $ */
2 /* libnatpmp
3 * Copyright (c) 2007-2008, Thomas BERNARD <miniupnp@free.fr>
4 * http://miniupnp.free.fr/libnatpmp.html
6 * Permission to use, copy, modify, and/or distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
17 #ifndef __WINGETTIMEOFDAY_H__
18 #define __WINGETTIMEOFDAY_H__
19 #ifdef WIN32
20 #if defined(_MSC_VER)
21 #include <time.h>
22 #else
23 #include <sys/time.h>
24 #endif
25 int gettimeofday(struct timeval* p, void* tz /* IGNORED */);
26 #endif
27 #endif