diff --git a/Configure.h.in b/Configure.h.in
index 70cf8442beb1fd9de21e8f891bb2c5e925bd0e0d..cd2d965199ff92aa43b1a84b22935b0194409d05 100644
--- a/Configure.h.in
+++ b/Configure.h.in
@@ -115,6 +115,11 @@
 #  pragma warning (disable: 4710) /* function not inlined */
 #  pragma warning (disable: 4786) /* identifier truncated in debug info */
 # endif
+# if defined(__BORLANDC__) && !defined(__cplusplus)
+   /* Code has no effect; raised by winnt.h in C (not C++) when ignoring an
+      unused parameter using "(param)" syntax (i.e. no cast to void).  */
+#  pragma warn -8019
+# endif
 #endif
 
 /* MSVC 6.0 in release mode will warn about code it produces with its
diff --git a/SharedForward.h.in b/SharedForward.h.in
index f22fa580a21694f779cf995b03fa5466d953e3e0..f80ef84703de8fd233a44e2b1e876c7a1a99e34c 100644
--- a/SharedForward.h.in
+++ b/SharedForward.h.in
@@ -74,6 +74,12 @@
 # endif
 #endif
 
+#if defined(__BORLANDC__) && !defined(__cplusplus)
+  /* Code has no effect; raised by winnt.h in C (not C++) when ignoring an
+     unused parameter using "(param)" syntax (i.e. no cast to void).  */
+# pragma warn -8019
+#endif
+
 /*--------------------------------------------------------------------------*/
 
 /* Full path to the directory in which this executable is built.  Do