diff --git a/src/xpdev/datewrap.h b/src/xpdev/datewrap.h index 7ffd3cbff53320374aca5c864d953304a2f3686f..263f2117092374423803cdc57a42a181136cb176 100644 --- a/src/xpdev/datewrap.h +++ b/src/xpdev/datewrap.h @@ -83,6 +83,9 @@ DLLEXPORT struct tm* DLLCALL localtime32(const time32_t* t, struct tm* tm); #if defined(__BORLANDC__) +/* Borland C++ doesn't come with a timegm() or mkgmtime() equivalent */ +#define timegm mktime + #include <dos.h> #else