diff options
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 738d84f82..28763e180 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -8,10 +8,7 @@ This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ -/* Hide definitions from the library since they contain the - "dllimport" attribute. */ -#define _timezone dummy_timezone -#define _daylight dummy_daylight +#include "winsup.h" #include <time.h> #include <sys/times.h> #include <sys/timeb.h> @@ -19,12 +16,7 @@ details. */ #include <stdio.h> #include <stdlib.h> #include <errno.h> -#include "winsup.h" -#undef _timezone -#undef _daylight -extern time_t _timezone; -extern int _daylight; #define FACTOR (0x19db1ded53ea710LL) #define NSPERSEC 10000000LL |