From 5a68a1b6377b4eaea6b2bd27d18209f2c5bced02 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 31 Aug 2004 08:21:16 +0000
Subject: [PATCH] Start on Watcom compatability... unsure of lock() is part of
 the watcom libs on platforms that don't implement it (ie: Linux/FreeBSD) but
 since there's no official release for those, it doesn't matter yet.

Using project files instead of make files until I figure out a nice way of
having then co-exist with the Borland makefiles.
---
 src/xpdev/filewrap.h   |  2 +-
 src/xpdev/wraptest.wpj | 43 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 src/xpdev/wraptest.wpj

diff --git a/src/xpdev/filewrap.h b/src/xpdev/filewrap.h
index c9b7b6f1a1..aaab270fb6 100644
--- a/src/xpdev/filewrap.h
+++ b/src/xpdev/filewrap.h
@@ -126,7 +126,7 @@
 extern "C" {
 #endif
 
-#if !defined(__BORLANDC__)
+#if !defined(__BORLANDC__) && !defined(__WATCOMC__)
 	DLLEXPORT int	DLLCALL	lock(int fd, long pos, long len);
 	DLLEXPORT int	DLLCALL unlock(int fd, long pos, long len);
 #endif
diff --git a/src/xpdev/wraptest.wpj b/src/xpdev/wraptest.wpj
new file mode 100644
index 0000000000..d03c654a23
--- /dev/null
+++ b/src/xpdev/wraptest.wpj
@@ -0,0 +1,43 @@
+40
+projectIdent
+0
+VpeMain
+1
+WRect
+0
+0
+7680
+9216
+2
+MProject
+3
+MCommand
+0
+4
+MCommand
+0
+1
+5
+WFileName
+12
+wraptest.tgt
+6
+WVList
+1
+7
+VComponent
+8
+WRect
+0
+0
+5632
+4147
+0
+0
+9
+WFileName
+12
+wraptest.tgt
+0
+4
+7
-- 
GitLab