* src/vm/jit/show.cpp (show_method): Now shows patcher references as well.
[cacao.git] / src / vm / global.h
index 420352c6a1c0636e16b8771cad188b4c634a38d4..4443a806f0782a9c3974ddbd55371c86e8e51e87 100644 (file)
@@ -77,8 +77,10 @@ typedef union {
 /* Define printf formats which change size between 32- and 64-bit. */
 
 #if SIZEOF_VOID_P == 8
+# define PRINTF_FORMAT_INTPTR_T   "0x%016lx"
 # define PRINTF_FORMAT_INT64_T    "%ld"
 #else
+# define PRINTF_FORMAT_INTPTR_T   "0x%08lx"
 # define PRINTF_FORMAT_INT64_T    "%lld"
 #endif