summaryrefslogtreecommitdiff
path: root/src/target/arm11.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-22 10:21:22 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-22 10:27:29 -0800
commitfa618cc74deea6741c745b4f80dace2421209a1e (patch)
tree993acd6ab0ad08f91d993d031d0917d1515a5d05 /src/target/arm11.h
parent1c619a2f12cbfe1887824d41e68e85a1c4f5a8b3 (diff)
downloadopenocd+libswd-fa618cc74deea6741c745b4f80dace2421209a1e.tar.gz
openocd+libswd-fa618cc74deea6741c745b4f80dace2421209a1e.tar.bz2
openocd+libswd-fa618cc74deea6741c745b4f80dace2421209a1e.tar.xz
openocd+libswd-fa618cc74deea6741c745b4f80dace2421209a1e.zip
ARM11: remove needless string format #ifdeffery
We don't need to use size_t in these places; so it's easy to be rid of the need for this #ifdef and its MS-derived portability problems. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r--src/target/arm11.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h
index 79f4b6b9..0b379294 100644
--- a/src/target/arm11.h
+++ b/src/target/arm11.h
@@ -28,16 +28,6 @@
#define NEW(type, variable, items) \
type * variable = calloc(1, sizeof(type) * items)
-/* For MinGW use 'I' prefix to print size_t (instead of 'z') */
-/* Except if __USE_MINGW_ANSI_STDIO is defined with MinGW */
-
-#if (!defined(__MSVCRT__) || defined(__USE_MINGW_ANSI_STDIO))
-#define ZU "%zu"
-#else
-#define ZU "%Iu"
-#endif
-
-
/* TEMPORARY -- till we switch to the shared infrastructure */
#define ARM11_REGCACHE_COUNT 20