From 72649e650c1207c371154c7eeac70e33eefbc785 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 23 Dec 2002 20:54:40 +0000 Subject: S_ISREG ugly workaround.... --- lib/Input.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/Input.cc b/lib/Input.cc index c7cd1d9..ee36ded 100644 --- a/lib/Input.cc +++ b/lib/Input.cc @@ -16,6 +16,10 @@ #include "Exceptions.h" #include "gettext.h" +#ifndef S_ISREG +#define S_ISREG(x) 1 +#endif + Input::Input(const String & no) throw (GeneralException) : Handle(no.strlen() ? open(no.to_charp(), O_RDONLY) : dup(0)), n(no) { -- cgit v1.2.3