projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fix in odr_getoidbystr_nmem.
[yaz-moved-to-github.git]
/
include
/
dmalloc.h
diff --git
a/include/dmalloc.h
b/include/dmalloc.h
index
59b1ffb
..
e713687
100644
(file)
--- a/
include/dmalloc.h
+++ b/
include/dmalloc.h
@@
-24,7
+24,13
@@
* OF THIS SOFTWARE.
*
* $Log: dmalloc.h,v $
* OF THIS SOFTWARE.
*
* $Log: dmalloc.h,v $
- * Revision 1.4 1995-09-29 17:12:02 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
* Smallish
*
* Revision 1.3 1995/09/27 15:02:47 quinn
* Smallish
*
* Revision 1.3 1995/09/27 15:02:47 quinn
@@
-46,9
+52,11
@@
#ifndef DMALLOC_H
#define DMALLOC_H
#ifndef DMALLOC_H
#define DMALLOC_H
-#ifdef DEBUG_MALLOC
+#ifdef __cplusplus
+extern "C" {
+#endif
-#include <yconfig.h>
+#ifdef DEBUG_MALLOC
#ifdef malloc
#undef malloc
#ifdef malloc
#undef malloc
@@
-69,4
+77,8
@@
void *d_realloc(char *file, int line, char *ptr, int nbytes);
#endif
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif