Changeset: 12768e44d8e1 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=12768e44d8e1 Modified Files: gdk/gdk_atoms.c Branch: Nov2019 Log Message:
Format pointer values with 0x. diffs (16 lines): diff --git a/gdk/gdk_atoms.c b/gdk/gdk_atoms.c --- a/gdk/gdk_atoms.c +++ b/gdk/gdk_atoms.c @@ -934,7 +934,12 @@ ptrFromStr(const char *src, size_t *len, return (ssize_t) (p - src); } +#ifdef _MSC_VER +/* Windows doesn't put 0x in front whereas Linux does, so we do it ourselves */ +atomtostr(ptr, "0x%p", ) +#else atomtostr(ptr, "%p", ) +#endif #if SIZEOF_VOID_P == SIZEOF_INT atom_io(ptr, Int, int) _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list