🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #58

(none)

#58
From: Axel Schreiner
Date: Sat, 11 Apr 1992 09:33
24 lines
1099 bytes
For NeXT 2.1 the following patch fixes libg++-2.0/libg++/g++-include/time.h
so that /usr/include/time.h is, in fact, included. The original code
contains #ifndef __NeXT__ .. #else #ifndef __NeXT__ .. #endif #endif,
which does not make sense to me.
This patch is required to compile groff-1.05 with gcc-2.1 on the NeXT.

*** time.h-orig	Fri Apr 10 17:28:06 1992
--- time.h	Fri Apr 10 17:28:28 1992
***************
*** 46,58 ****
  #define _INCLUDE_POSIX_SOURCE
  #endif
  
- #ifndef __NeXT__
  #include_next <time.h>
- #else
- #ifndef __NeXT__
- #include "//usr/include/time.h"
- #endif
- #endif
  #endif
  #undef __time_h_recursive
  
--- 46,52 ----
Technical Details
Message-ID: <9204110533.AA04354@dosuni.informatik.Uni-Osnabrueck.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!thor.informatik.uni-osnabrueck.de!axel

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!thor.informatik.uni-osnabrueck.de!axel
From: axel@thor.informatik.uni-osnabrueck.de (Axel Schreiner)
Subject: (none)
Message-ID: <9204110533.AA04354@dosuni.informatik.Uni-Osnabrueck.DE>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 11 Apr 1992 09:33:17 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 26