summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-19 13:51:05 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-19 13:51:05 -0800
commitb72af4edce48e40fedd441f72df0d2338fd448c5 (patch)
treeb5d2003479fb7e80ce137873f4aa24c60d8e77e5
parent02702c20e70da35ea8a842bc79c8eaec66db0e6c (diff)
unifdef VAX11C
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/RdFToBuf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/RdFToBuf.c b/src/RdFToBuf.c
index 4ee9265..10e9d22 100644
--- a/src/RdFToBuf.c
+++ b/src/RdFToBuf.c
@@ -47,9 +47,7 @@
#if !defined(FOR_MSW) && !defined(WIN32)
#include <unistd.h>
#endif
-#ifndef VAX11C
#include <fcntl.h>
-#endif
#if defined(FOR_MSW) || defined(WIN32)
#include <io.h>
#define stat _stat
@@ -71,11 +69,7 @@ XpmReadFileToBuffer(
*buffer_return = NULL;
-#ifndef VAX11C
fd = open(filename, O_RDONLY | O_CLOEXEC);
-#else
- fd = open(filename, O_RDONLY, NULL);
-#endif
if (fd < 0)
return XpmOpenFailed;