AGX Dynamics  2.37.3.2
agx::Date::TimeVal Struct Reference

A copy of struct 'timeval' from BSD file sys/time.h. More...

#include <Date.h>

Public Attributes

long tv_sec
 
long tv_usec
 

Detailed Description

A copy of struct 'timeval' from BSD file sys/time.h.

In windows, it is found in Winsock2.h. It is not part of the C++ standard, and under windows there are include problems in windows.h and Winsock2.h (compile errors if windows.h is included without WIN_32_LEAN_AND_MEAN before Winsock2.h). The easiest workaround seems to have our own struct.

Definition at line 39 of file Date.h.

Member Data Documentation

◆ tv_sec

long agx::Date::TimeVal::tv_sec

Definition at line 40 of file Date.h.

◆ tv_usec

long agx::Date::TimeVal::tv_usec

Definition at line 41 of file Date.h.


The documentation for this struct was generated from the following file: