From c64d90d236b34e6684b683a3120607fc1f5e2a71 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Windows 11)" <rob@synchro.net>
Date: Sat, 24 Feb 2024 02:30:22 -0800
Subject: [PATCH] Borland C needs the strlcpy definition too

The definition of vsnprintf as _vsnprintf didn't seem to hurt the build
(as well, for Borland)
---
 src/xpdev/genwrap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h
index ca1c2e4bd6..b1e614be9f 100644
--- a/src/xpdev/genwrap.h
+++ b/src/xpdev/genwrap.h
@@ -219,7 +219,7 @@ extern "C" {
 	#define snprintf		safe_snprintf
 #endif
 
-#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__DMC__)
+#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__DMC__) || defined(__BORLANDC__)
 #if !defined(snprintf)
 	#define snprintf		_snprintf
 #endif
-- 
GitLab