delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/14/17:24:53

From: Kbwms AT aol DOT com
Message-ID: <dcf87eef.36c74cd6@aol.com>
Date: Sun, 14 Feb 1999 17:23:18 EST
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp-workers AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Speaking of Groff
X-Mailer: AOL 3.0 16-bit for Windows sub 38
Reply-To: djgpp-workers AT delorie DOT com

Dear Eli Zaretskii,

Appended is a diff that represents a 'fix' to $djdir/lang/cxx/_G_config.h
that enables the code in archive gro110s.zip to be compiled completely.

The word `fix' is in quotes because I do not know the ramifications of
commenting out the line

    #undef NULL 

except that source file input.cc is compiled without incident thereby.


K.B. Williams

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*** e:/lang/cxx/_g_confi.h	Fri Apr  3 10:41:54 1998
--- lang/cxx/_g_confi.h	Sun Feb 14 12:24:04 1999
***************
*** 71,77 ****
  #define _G_HAVE_ATEXIT 1
  #define _G_HAVE_SYS_RESOURCE 1
  #define _G_HAVE_SYS_TIMES 1
! #define _G_HAVE_SYS_SOCKET 1
  #define _G_HAVE_SYS_CDEFS 1
  #define _G_HAVE_SYS_WAIT 1
  #define _G_HAVE_UNISTD 1
--- 71,77 ----
  #define _G_HAVE_ATEXIT 1
  #define _G_HAVE_SYS_RESOURCE 1
  #define _G_HAVE_SYS_TIMES 1
! #define _G_HAVE_SYS_SOCKET 0
  #define _G_HAVE_SYS_CDEFS 1
  #define _G_HAVE_SYS_WAIT 1
  #define _G_HAVE_UNISTD 1
***************
*** 81,87 ****
  #define _G_HAVE_BOOL 1
  #define _G_HAVE_PRINTF_FP 0
  #define _G_HAVE_LONG_DOUBLE_IO 0
! #undef NULL
  #define __need_NULL
  #include <stddef.h>
  #endif /* !_G_config_h */
--- 81,87 ----
  #define _G_HAVE_BOOL 1
  #define _G_HAVE_PRINTF_FP 0
  #define _G_HAVE_LONG_DOUBLE_IO 0
! //#undef NULL
  #define __need_NULL
  #include <stddef.h>
  #endif /* !_G_config_h */

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019