Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_896231035==_" To: dj AT delorie DOT com From: Nate Eldredge Subject: not C++ clean Cc: djgpp-workers AT delorie DOT com Date: Tue, 26 May 1998 18:00:55 -0700 Message-ID: <19980527010023.AAM19094@ppp114.cartsys.com> Precedence: bulk --=====================_896231035==_ Content-Type: text/plain; charset="us-ascii" DXE's break for C++ programs due to 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==_--