From e7d17604d098432487dd71d14272e3973fddb385 Mon Sep 17 00:00:00 2001 From: James Nobis Date: Fri, 14 Jan 2011 00:09:21 -0600 Subject: [PATCH] misc cleanup --- Common/rt api/Public.cpp | 4 ++-- Common/rt api/Public.h | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Common/rt api/Public.cpp b/Common/rt api/Public.cpp index dc23bac..eb33545 100644 --- a/Common/rt api/Public.cpp +++ b/Common/rt api/Public.cpp @@ -63,8 +63,8 @@ struct timezone { - int tz_minuteswest; /* minutes W of Greenwich */ - int tz_dsttime; /* type of dst correction */ + int tz_minuteswest; /* minutes W of Greenwich */ + int tz_dsttime; /* type of dst correction */ }; int gettimeofday(struct timeval *tv, struct timezone *tz) diff --git a/Common/rt api/Public.h b/Common/rt api/Public.h index 6708d3a..1a8322c 100644 --- a/Common/rt api/Public.h +++ b/Common/rt api/Public.h @@ -101,9 +101,7 @@ void tty_flush(void); #if defined(_WIN32) && !defined(__GNUC__) int gettimeofday( struct timeval *tv, struct timezone *tz ); -#endif - -#if !defined(_WIN32) || defined(__GNUC__) +#else #include #endif -- 2.39.2