Mail Archives: djgpp-workers/1999/02/14/17:24:53
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 -