- fixed jtag_add_reset(). It no longer causes jtag_execute_queue() to
[fw/openocd] / src / target / arm11.h
index 638c2ca9fd63946c93196bf5cef187f826d6cb48..818db766a32679449665bbbfd22fbaedacd4709c 100644 (file)
     type * variable = calloc(1, sizeof(type) * items)
 
 
+/* For MinGW use 'I' prefix to print size_t (instead of 'z') */
+
+#ifndef __MSVCRT__
+#define ZU             "%zu"
+#else
+#define ZU             "%Iu"
+#endif
+
+
 #define ARM11_REGCACHE_MODEREGS                0
 #define ARM11_REGCACHE_FREGS           0