home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / utils / bug / 2301 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.0 KB  |  41 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!relay.nswc.navy.mil!rsherme%diamond
  3. From: rsherme%diamond@relay.nswc.navy.mil (Russel Shermer (R43))
  4. Subject: Config bug in oleo-1.2 on SGIs
  5. Message-ID: <9212312146.AA04319@diamond.nswc.navy.mil>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Thu, 31 Dec 1992 11:46:39 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 28
  12.  
  13.     Hi,
  14.  
  15. I had to add some lines (a definite kludge) to sysdef.h.  (2nd
  16. paragraph contains the added lines.  The lines 1st and 3rd delimit
  17. position).  The problem is that when RETSIGTYPE is set to void, SIGRET
  18. does not get set to "return" but gets set to "return 0" instead.  My
  19. fix is not legit but merely a hack to get it to work for now.
  20.  
  21.     ---Russ
  22.  
  23. >#ifndef RETSIGTYPE
  24. >#define RETSIGTYPE void
  25. >#define SIGRET  return
  26. >#else
  27. >#define SIGRET  return 0
  28. >#endif /* RETSIGTYPE */
  29.  
  30. #ifdef RETSIGTYPE
  31. #if (RETSIGTYPE == void)
  32. #define SIGRET return
  33. #endif
  34. #endif
  35.  
  36. >#ifndef VOIDSTAR
  37. >#define VOIDSTAR void *
  38. >#endif
  39.  
  40.  
  41.