>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes: 
    Jan> Adrian Aichner <aichner(a)ecf.teradyne.com> writes:
    Jan> If CLASH_DETECTION is undefined that this file should not be compiled
    Jan> [this is what this message is all about].
    Jan> So I think this should be fixed elsewhere.
    Jan> Jan
Jan,
you are right.  I was lost in the forest in front of a large tree.
My patch of src/filelock.c was evil and should not be applied.
Thanks Jan,
Adrian
How about patching xemacs.mak instead?
1998-12-11  Adrian Aichner  <aichner(a)ecf.teradyne.com>
	* xemacs.mak (DOC_SRC2): CLASH_DETECTION is not supported under
 	native Windows NT.  Therefore src\filelock.c is not to be
 	compiled.
	(TEMACS_OBJS): Consequently, don't link in $(OUTDIR)\filelock.obj.
cd d:\export\home\tmp\21.0\xemacs\
cvs diff -u nt/xemacs.mak
Compilation started at Fri Dec 11 16:25:02 1998
Index: nt/xemacs.mak
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/nt/xemacs.mak,v
retrieving revision 1.48
diff -u -r1.48 xemacs.mak
--- xemacs.mak	1998/12/11 11:08:05	1.48
+++ xemacs.mak	1998/12/11 23:06:22
@@ -622,7 +622,6 @@
  $(XEMACS)\src\faces.c \
  $(XEMACS)\src\file-coding.c \
  $(XEMACS)\src\fileio.c \
- $(XEMACS)\src\filelock.c \
  $(XEMACS)\src\filemode.c \
  $(XEMACS)\src\floatfns.c \
  $(XEMACS)\src\fns.c 
@@ -867,7 +866,6 @@
 	$(OUTDIR)\faces.obj \
 	$(OUTDIR)\file-coding.obj \
 	$(OUTDIR)\fileio.obj \
-	$(OUTDIR)\filelock.obj \
 	$(OUTDIR)\filemode.obj \
 	$(OUTDIR)\floatfns.obj \
 	$(OUTDIR)\fns.obj \
Compilation exited abnormally with code 1 at Fri Dec 11 16:25:08