Article View: comp.windows.interviews
Article #479Re: S_ISDIR func not found when comp on SUN4
From: Mark Linton
Date: Sat, 15 Aug 1992 18:21
Date: Sat, 15 Aug 1992 18:21
16 lines
1219 bytes
1219 bytes
In article <1305@lorentz.sbi.com>, peter@aristotle.sbi.com (Peter Murray) writes: |> I get the following error while compiling on a sparc 2 |> |> making all for SUN4 in ./src/bin/iclass^M |> making all for SUN4 in ./src/bin/iclass/SUN4^M |> /tmp_mnt/home1/sb/ssw/CenterLine/bin/CC -Dcplusplus_2_0 -Div2_6_compatible -I../../../.././src/include |> /InterViews/2.6 -I../../../.././src/include/IV-look/2.6 -I../../../.././src/include -c ../classbuffer.c |> ^M |> CC ../classbuffer.c:^M |> "../classbuffer.c", line 198: error: undefined function S_ISDIR called^M S_ISDIR is a stat-related macro defined on some systems. Try adding these lines: #ifndef S_ISDIR #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #endif
Technical Details
Message-ID:
<ok26o6c@fido.asd.sgi.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!mips!odin!fido!marktwain.rad.sgi.com!lintonReferences:
<1305@lorentz.sbi.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!mips!odin!fido!marktwain.rad.sgi.com!linton From: linton@marktwain.rad.sgi.com (Mark Linton) Subject: Re: S_ISDIR func not found when comp on SUN4 Message-ID: <ok26o6c@fido.asd.sgi.com> Sender: news@fido.asd.sgi.com (Usenet News Admin) Reply-To: linton@marktwain.rad.sgi.com (Mark Linton) Organization: sgi References: <1305@lorentz.sbi.com> Date: Sat, 15 Aug 1992 18:21:35 GMT Lines: 17