X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fdmalloc.h;h=e7136875dd1630a1bd9d8cbc47577b19e9096b6b;hp=a68b59ba02f631247d15fbbed8d0e8bfee384b0b;hb=559aecba0e61eca34706023436692ba23faa29a7;hpb=a3fb25600e5a7366e761b46c419462080fc13f73 diff --git a/include/dmalloc.h b/include/dmalloc.h index a68b59b..e713687 100644 --- a/include/dmalloc.h +++ b/include/dmalloc.h @@ -24,7 +24,10 @@ * OF THIS SOFTWARE. * * $Log: dmalloc.h,v $ - * Revision 1.5 1995-10-16 13:51:43 quinn + * Revision 1.6 1997-05-14 06:53:39 adam + * C++ support. + * + * Revision 1.5 1995/10/16 13:51:43 quinn * Changes to provide Especs to the backend. * * Revision 1.4 1995/09/29 17:12:02 quinn @@ -49,6 +52,10 @@ #ifndef DMALLOC_H #define DMALLOC_H +#ifdef __cplusplus +extern "C" { +#endif + #ifdef DEBUG_MALLOC #ifdef malloc @@ -70,4 +77,8 @@ void *d_realloc(char *file, int line, char *ptr, int nbytes); #endif +#ifdef __cplusplus +} +#endif + #endif