From c816dcb3ccae5e4cc187c936703be42cf9972f58 Mon Sep 17 00:00:00 2001
From: pixel <pixel>
Date: Mon, 23 Dec 2002 20:59:21 +0000
Subject: Whoups, forgot second part of S_ISREG ugly workaround.

---
 lib/Output.cc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'lib')

diff --git a/lib/Output.cc b/lib/Output.cc
index 2007757..296510d 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -16,6 +16,10 @@
 #include "Exceptions.h"
 #include "gettext.h"
 
+#ifndef S_ISREG
+#define S_ISREG(x) 1
+#endif
+
 Output::Output(String no, int create, int trunc) throw (GeneralException) :
     Handle(no.strlen() ? open(no.to_charp(), O_WRONLY | (O_CREAT * (create ? 1 : 0)) | (O_TRUNC * (trunc ? 1 : 0))
 #if defined __linux__ || defined __CYGWIN32__
-- 
cgit v1.2.3