summaryrefslogtreecommitdiff
path: root/src/RdFToBuf.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-19 14:37:23 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-19 14:37:23 -0800
commitb30fd0918f8d99aa718ede3da30f9d29f87063e1 (patch)
treefc20a7c915ad5dfe3ea8fbb87dd5fd71eccd1956 /src/RdFToBuf.c
parent0224b43072c5ce42ec4f3280e6f6022a2e5380c6 (diff)
Remove ancient port to 16-bit Windows without X11 libraries
Removes all the "FOR_MSW" code added back in 1994, which hasn't been buildable in the automake builds. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/RdFToBuf.c')
-rw-r--r--src/RdFToBuf.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/RdFToBuf.c b/src/RdFToBuf.c
index 10e9d22..8f7c31a 100644
--- a/src/RdFToBuf.c
+++ b/src/RdFToBuf.c
@@ -32,11 +32,6 @@
* Developed by Arnaud Le Hors *
\*****************************************************************************/
-/*
- * The code related to FOR_MSW has been added by
- * HeDu (hedu@cul-ipn.uni-kiel.de) 4/94
- */
-
/* October 2004, source code review by Thomas Biege <thomas@suse.de> */
#ifdef HAVE_CONFIG_H
@@ -44,11 +39,11 @@
#endif
#include "XpmI.h"
#include <sys/stat.h>
-#if !defined(FOR_MSW) && !defined(WIN32)
+#ifndef WIN32
#include <unistd.h>
#endif
#include <fcntl.h>
-#if defined(FOR_MSW) || defined(WIN32)
+#ifdef WIN32
#include <io.h>
#define stat _stat
#define fstat _fstat