aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h7
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
377IMPL(alarm,unsigned int,0,unsigned int seconds UNUSED_PARAM); 381IMPL(alarm,unsigned int,0,unsigned int seconds UNUSED_PARAM);
378IMPL(chown,int,0,const char *path UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM); 382IMPL(chown,int,0,const char *path UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM);
379NOIMPL(chroot,const char *root UNUSED_PARAM); 383NOIMPL(chroot,const char *root UNUSED_PARAM);
@@ -475,3 +479,6 @@ int has_exe_suffix(const char *p);
475char *file_is_win32_executable(const char *p); 479char *file_is_win32_executable(const char *p);
476 480
477int err_win_to_posix(DWORD winerr); 481int err_win_to_posix(DWORD winerr);
482
483ULONGLONG CompatGetTickCount64(void);
484#define GetTickCount64 CompatGetTickCount64