home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / intervie / 3443 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.6 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!tommy!klute
  2. From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
  3. Newsgroups: comp.windows.interviews
  4. Subject: Re: IV3.1 vs. IV3.1beta3 (?)
  5. Message-ID: <1h4grtINNq46@fbi-news.Informatik.Uni-Dortmund.DE>
  6. Date: 21 Dec 92 13:29:33 GMT
  7. References: <24456@hacgate.SCG.HAC.COM> <1gogi1INN8v8@fido.asd.sgi.com>
  8. Sender: klute@tommy (Rainer Klute)
  9. Organization: CS Department, Dortmund University, Germany
  10. Lines: 37
  11. NNTP-Posting-Host: tommy.informatik.uni-dortmund.de
  12.  
  13. In article <1gogi1INN8v8@fido.asd.sgi.com>, linton@marktwain.rad.sgi.com
  14. (Mark Linton) writes:
  15. |> Unfortunately, one of the those changes was to include
  16. |> stat.h in iclass/classbuffer.h.  On many systems, this
  17. |> defines "major" and "minor" as macros.  A simple workaround
  18. |> is to add after the include of <sys/stat.h>
  19. |> 
  20. |>     #ifdef major
  21. |>     #undef major
  22. |>     #undef minor
  23. |>     #endif
  24.  
  25. This didn't work for me (SunOS 4.1.1). I succeeded with the same lines at a
  26. different place:
  27.  
  28. *** /tmp/RCSAa13965     Mon Dec 21 14:28:50 1992
  29. --- iv/src/bin/iclass/iclass.c  Mon Dec 21 14:21:30 1992
  30. ***************
  31. *** 31,36 ****
  32. --- 31,41 ----
  33.   #include "globals.h"
  34.   #include "iclass.h"
  35.   
  36. + #ifdef major
  37. + #undef major
  38. + #undef minor
  39. + #endif
  40.   #include <InterViews/adjuster.h>
  41.   #include <InterViews/border.h>
  42.   #include <InterViews/box.h>
  43.  
  44. -- 
  45.   Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  46.   Univ. Dortmund, IRB
  47.   Postfach 500500         |)|/    Tel.: +49 231 755-4663
  48. D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
  49.