Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/hires.h')
-rw-r--r--winsup/cygwin/hires.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/hires.h b/winsup/cygwin/hires.h
index 5dd0cf952..369b087e5 100644
--- a/winsup/cygwin/hires.h
+++ b/winsup/cygwin/hires.h
@@ -41,7 +41,8 @@ class hires_ms : hires_base
{
DWORD initime_ms;
LARGE_INTEGER initime_us;
- static UINT minperiod;
+ UINT minperiod;
+ static bool began_period;
UINT prime ();
public:
LONGLONG usecs (bool justdelta);
@@ -50,5 +51,5 @@ class hires_ms : hires_base
};
-extern hires_ms gtod;
+#define gtod cygheap->_gtod
#endif /*__HIRES_H__*/