mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-18 11:24:42 +00:00
Clean up legacy code
This commit is contained in:
@@ -19,6 +19,19 @@
|
||||
#ifndef _TIME_H_
|
||||
#define _TIME_H_
|
||||
|
||||
// If you need both <windows.h> and <sys/time.h>,
|
||||
// make sure you include <windows.h> first.
|
||||
#ifndef _WINSOCKAPI_
|
||||
#ifndef _TIMEVAL_DEFINED
|
||||
#define _TIMEVAL_DEFINED
|
||||
struct timeval
|
||||
{
|
||||
long tv_sec;
|
||||
long tv_usec;
|
||||
};
|
||||
#endif /* _TIMEVAL_DEFINED */
|
||||
#endif /* _WINSOCKAPI_ */
|
||||
|
||||
struct timezone
|
||||
{
|
||||
int tz_minuteswest;
|
||||
|
||||
Reference in New Issue
Block a user