🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by Axel Schreiner Sat, 11 Apr 1992 09:33
(none)
#60
Author: Axel Schreiner
Date: Sat, 11 Apr 1992 09:33
70 lines
2839 bytes
For NeXT 2.1 the following patches make libg++-2.0/libg++/g++-include/sys
conform to the system include files. Once these patches are applied,
make test_h in tests will work and src/timer.cc can be compiled.

*** socket.h-orig	Fri Apr 10 16:56:49 1992
--- socket.h	Fri Apr 10 17:00:45 1992
***************
*** 20,26 ****
--- 20,30 ----
  int       select(int, void*, void*, void*, struct timeval*);
  
  int       accept(int, struct sockaddr*, int*);
+ #ifdef	NeXT
+ int       bind(int, struct sockaddr *, int);
+ #else
  int       bind(int, const void*, int);
+ #endif
  int       connect(int, struct sockaddr*, int);
  int       getsockname(int, struct sockaddr*, int*);
  int       getpeername(int, struct sockaddr*, int*);  // 16 Oct 90 Talisman
***************
*** 28,41 ****
--- 32,56 ----
  int       listen(int, int);
  int       rcmd(char**, int, const char*, const char*, const char*, int*);
  int       recv(int, void*, int, int);
+ #ifdef	NeXT
+ int       recvfrom(int, void*, int, int, struct sockaddr *, int *);
+ #else
  int       recvfrom(int, void*, int, int, void*, int *);
+ #endif
  int       recvmsg(int, struct msghdr*, int);
  int       rexec(char**, int, const char*, const char*, const char*, int*);
  int       rresvport(int*);
+ #ifdef	NeXT
+ int       send(int, void*, int, int);
+ int       sendto(int, void*, int, int, struct sockaddr *, int);
+ int       sendmsg(int, struct msghdr*, int);
+ int       setsockopt(int, int, int, void*, int);
+ #else
  int       send(int, const void*, int, int);
  int       sendto(int, const void*, int, int, const char*, int);
  int       sendmsg(int, const struct msghdr*, int);
  int       setsockopt(int, int, int, const char*, int);
+ #endif
  int       shutdown(int, int);
  int       socket(int, int, int);
  int       socketpair(int, int, int, int sv[2]);
*** wait.h-orig	Fri Apr 10 16:55:15 1992
--- wait.h	Fri Apr 10 16:56:05 1992
***************
*** 15,23 ****
--- 15,31 ----
  #define __libgxx_sys_wait_h 1
  
  struct rusage;
+ #ifdef NeXT
+ extern int wait(union wait *);
+ #else
  extern int wait(int*);
+ #endif
  extern int waitpid(int, int*, int);
+ #ifdef	NeXT
+ extern int wait3(union wait *, int options, struct rusage*);
+ #else
  extern int wait3(int*, int options, struct rusage*);
+ #endif
  extern int wait4(int, int*, int, struct rusage*);
  #endif
  }
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads