diff options
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index dd676bf2c..87abd077b 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -374,6 +374,10 @@ clock_t times(struct tms *buf); | |||
374 | 374 | ||
375 | #define _SC_CLK_TCK 2 | 375 | #define _SC_CLK_TCK 2 |
376 | 376 | ||
377 | #define TICKS_PER_SECOND 100 | ||
378 | #define MS_PER_TICK 10 | ||
379 | #define HNSEC_PER_TICK 100000 | ||
380 | |||
377 | IMPL(alarm,unsigned int,0,unsigned int seconds UNUSED_PARAM); | 381 | IMPL(alarm,unsigned int,0,unsigned int seconds UNUSED_PARAM); |
378 | IMPL(chown,int,0,const char *path UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM); | 382 | IMPL(chown,int,0,const char *path UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM); |
379 | NOIMPL(chroot,const char *root UNUSED_PARAM); | 383 | NOIMPL(chroot,const char *root UNUSED_PARAM); |
@@ -475,3 +479,6 @@ int has_exe_suffix(const char *p); | |||
475 | char *file_is_win32_executable(const char *p); | 479 | char *file_is_win32_executable(const char *p); |
476 | 480 | ||
477 | int err_win_to_posix(DWORD winerr); | 481 | int err_win_to_posix(DWORD winerr); |
482 | |||
483 | ULONGLONG CompatGetTickCount64(void); | ||
484 | #define GetTickCount64 CompatGetTickCount64 | ||