summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/implement.h b/implement.h
index d2bb791..d575539 100644
--- a/implement.h
+++ b/implement.h
@@ -92,6 +92,8 @@ typedef VOID (APIENTRY *PAPCFUNC)(DWORD dwParam);
#if defined(__MINGW32__)
#include <stdint.h>
+#elif defined(__BORLANDC__) || defined(__WATCOMC__)
+#define int64_t ULONGLONG
#else
#define int64_t _int64
#endif
@@ -568,6 +570,8 @@ extern "C"
int ptw32_semwait (sem_t * sem);
+ DWORD ptw32_relmillisecs (const struct timespec * abstime);
+
#ifdef NEED_FTIME
void ptw32_timespec_to_filetime (const struct timespec *ts, FILETIME * ft);
void ptw32_filetime_to_timespec (const FILETIME * ft, struct timespec *ts);