utils-windows.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2010,
3  * François Bleibel,
4  * Olivier Stasse,
5  *
6  * CNRS/AIST
7  *
8  */
9 
10 #ifndef UTILSWINDOWS_H_
11 #define UTILSWINDOWS_H_
12 
13 #ifdef WIN32
14 
15 #include < time.h >
16 
17 #include "sot/core/api.hh"
18 #define NOMINMAX
19 #include <Winsock2.h>
20 
21 struct SOT_CORE_EXPORT timezone {
22  int tz_minuteswest; /* minutes W of Greenwich */
23  int tz_dsttime; /* type of dst correction */
24 };
25 
26 int SOT_CORE_EXPORT gettimeofday(struct timeval *tv, struct timezone *tz);
27 
28 #endif /*WIN32*/
29 
30 #endif /* UTILSWINDOWS_H_ */
#define SOT_CORE_EXPORT
Definition: api.hh:20


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26