File: time.h

package info (click to toggle)
python-scrypt 0.8.27-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 544 kB
  • sloc: ansic: 3,619; python: 549; sh: 99; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _MY_GETTIMEOFDAY_H_
#define _MY_GETTIMEOFDAY_H_

#ifdef _MSC_VER

#include <time.h>
#include <winsock2.h>
int gettimeofday(struct timeval * tp, struct timezone * tzp);

#if _MSC_VER < 1900
struct timespec {
       time_t tv_sec;
       long tv_nsec;
};
#endif

#endif /* _MSC_VER */

#endif /* _MY_GETTIMEOFDAY_H_ */