Changeset: 2cc6f4cf7f18 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2cc6f4cf7f18
Modified Files:
gdk/gdk_private.h
Branch: Jul2015
Log Message:
Place redefinition of GDKmremap after definition of debug version.
diffs (19 lines):
diff --git a/gdk/gdk_private.h b/gdk/gdk_private.h
--- a/gdk/gdk_private.h
+++ b/gdk/gdk_private.h
@@ -446,7 +446,6 @@ GDKreallocmax_debug(void *ptr, size_t si
return res;
}
#define GDKreallocmax(p, s, ps, e) GDKreallocmax_debug((p), (s), (ps),
(e), __FILE__, __LINE__)
-#define GDKmremap(p, m, oa, os, ns) GDKmremap_debug(p, m, os, os, ns,
__FILE__, __LINE__)
static inline void *
GDKmremap_debug(const char *path, int mode, void *old_address, size_t
old_size, size_t *new_size, const char *filename, int lineno)
{
@@ -462,6 +461,7 @@ GDKmremap_debug(const char *path, int mo
filename, lineno);
return res;
}
+#define GDKmremap(p, m, oa, os, ns) GDKmremap_debug(p, m, oa, os, ns,
__FILE__, __LINE__)
#endif
#endif
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list