From 4c8d72ded51ac22172d4f2d0250ada6b0dd624ff Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 2 Aug 2000 16:28:18 +0000 Subject: * winsup.h: take out protections of environ, errno, allow C use * *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__); use cur_environ() instead of just environ * times.cc: remove import protections * glob.c: add winsup.h * localtime.c: ditto * smallprint.c: ditto * Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling. --- winsup/cygwin/times.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'winsup/cygwin/times.cc') 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 #include #include @@ -19,12 +16,7 @@ details. */ #include #include #include -#include "winsup.h" -#undef _timezone -#undef _daylight -extern time_t _timezone; -extern int _daylight; #define FACTOR (0x19db1ded53ea710LL) #define NSPERSEC 10000000LL -- cgit v1.2.3