🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1223

Re: IV3.1 vs. IV3.1beta3 (?)

#1223
From: Rainer Klute
Date: Mon, 21 Dec 1992 13:29
37 lines
1665 bytes
In article <1gogi1INN8v8@fido.asd.sgi.com>, linton@marktwain.rad.sgi.com
(Mark Linton) writes:
|> Unfortunately, one of the those changes was to include
|> stat.h in iclass/classbuffer.h.  On many systems, this
|> defines "major" and "minor" as macros.  A simple workaround
|> is to add after the include of <sys/stat.h>
|> 
|>     #ifdef major
|>     #undef major
|>     #undef minor
|>     #endif

This didn't work for me (SunOS 4.1.1). I succeeded with the same lines at a
different place:

*** /tmp/RCSAa13965     Mon Dec 21 14:28:50 1992
--- iv/src/bin/iclass/iclass.c  Mon Dec 21 14:21:30 1992
***************
*** 31,36 ****
--- 31,41 ----
  #include "globals.h"
  #include "iclass.h"
  
+ #ifdef major
+ #undef major
+ #undef minor
+ #endif
+ 
  #include <InterViews/adjuster.h>
  #include <InterViews/border.h>
  #include <InterViews/box.h>

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
Technical Details
Message-ID: <1h4grtINNq46@fbi-news.Informatik.Uni-Dortmund.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!tommy!klute
References: <24456@hacgate.SCG.HAC.COM> <1gogi1INN8v8@fido.asd.sgi.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!tommy!klute
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: comp.windows.interviews
Subject: Re: IV3.1 vs. IV3.1beta3 (?)
Message-ID: <1h4grtINNq46@fbi-news.Informatik.Uni-Dortmund.DE>
Date: 21 Dec 92 13:29:33 GMT
References: <24456@hacgate.SCG.HAC.COM> <1gogi1INN8v8@fido.asd.sgi.com>
Sender: klute@tommy (Rainer Klute)
Organization: CS Department, Dortmund University, Germany
Lines: 37
NNTP-Posting-Host: tommy.informatik.uni-dortmund.de