Mail Archives: djgpp-workers/1998/05/26/21:06:34
--=====================_896231035==_
Content-Type: text/plain; charset="us-ascii"
DXE's break for C++ programs due to <sys/dxe.h> not having the extern "C"
stuff. Patch:
--=====================_896231035==_
Content-Type: text/plain; charset="us-ascii"
*** include/sys/dxe.h~ Sat Apr 22 05:37:00 1995
--- include/sys/dxe.h Tue May 26 17:38:48 1998
***************
*** 13,16 ****
--- 13,24 ----
/* data stored after dxe_header in file; then relocs, 4 bytes each */
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
void *_dxe_load(char *filename);
+
+ #ifdef __cplusplus
+ }
+ #endif
*** src/docs/kb/wc202.tx~ Fri Jan 2 06:07:24 1998
--- src/docs/kb/wc202.txi Tue May 26 17:42:12 1998
***************
*** 279,281 ****
--- 279,283 ----
@code{malloc} and @code{free} have been replaced by a more efficient
(and not BSD) algorithm. The source archive still contains bsdmallo.c
and a new even faster (but more wasteful) version in fmalloc.c
+
+ The header @file{sys/dxe.h} now works with C++.
--=====================_896231035==_
Content-Type: text/plain; charset="us-ascii"
Nate Eldredge
nate AT cartsys DOT com
--=====================_896231035==_--
- Raw text -