From 467f912d4d0a505a54389ec597e037904f1b050c Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sun, 30 Aug 2015 01:12:58 +0000
Subject: [PATCH] Borland doesn't have a timegm() or mkgmtime() equivalent.

---
 src/xpdev/datewrap.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/xpdev/datewrap.h b/src/xpdev/datewrap.h
index 7ffd3cbff5..263f211709 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 
-- 
GitLab