* times.cc: Fix extern declarations for variables that are exported but used by
this modules.
This commit is contained in:
parent
731d9d5b3c
commit
5bc5ee4457
@ -1,6 +1,7 @@
|
|||||||
Sat Mar 18 23:04:27 2000 Christopher Faylor <cgf@cygnus.com>
|
Sat Mar 18 23:04:27 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* times.cc: Remove unneeded (and incorrect) externs.
|
* times.cc: Fix extern declarations for variables that are exported but
|
||||||
|
used by this modules.
|
||||||
|
|
||||||
Sat Mar 18 01:32:04 2000 Christopher Faylor <cgf@cygnus.com>
|
Sat Mar 18 01:32:04 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
@ -8,6 +8,10 @@ This software is a copyrighted work licensed under the terms of the
|
|||||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||||
details. */
|
details. */
|
||||||
|
|
||||||
|
/* Hide definitions from the library since they contain the
|
||||||
|
"dllimport" attribute. */
|
||||||
|
#define _timezone dummy_timezone
|
||||||
|
#define _daylight dummy_daylight
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/times.h>
|
#include <sys/times.h>
|
||||||
#include <sys/timeb.h>
|
#include <sys/timeb.h>
|
||||||
@ -17,6 +21,11 @@ details. */
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "winsup.h"
|
#include "winsup.h"
|
||||||
|
|
||||||
|
#undef _timezone
|
||||||
|
#undef _daylight
|
||||||
|
extern time_t _timezone;
|
||||||
|
extern int _daylight;
|
||||||
|
|
||||||
#define FACTOR (0x19db1ded53ea710LL)
|
#define FACTOR (0x19db1ded53ea710LL)
|
||||||
#define NSPERSEC 10000000LL
|
#define NSPERSEC 10000000LL
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user