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  size_type tz_minuteswest; /* minutes W of Greenwich */
23  size_type 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_ */
SOT_CORE_EXPORT
#define SOT_CORE_EXPORT
Definition: api.hh:20
api.hh
size_type
Matrix::Index size_type


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32