summaryrefslogtreecommitdiff
path: root/src/helper/jim.h
diff options
context:
space:
mode:
authoroyvind <oyvind@titan.(none)>2009-10-19 15:16:42 +0200
committeroyvind <oyvind@titan.(none)>2009-10-19 15:16:42 +0200
commit557d1b6490fab73bd0df0b1127275db784281595 (patch)
treee22b619bcabb56eef4370c1d6b7dec2c5e229810 /src/helper/jim.h
parent89a8a37998871b54dd8e80d179ea5a0e59b3e7ea (diff)
downloadopenocd+libswd-557d1b6490fab73bd0df0b1127275db784281595.tar.gz
openocd+libswd-557d1b6490fab73bd0df0b1127275db784281595.tar.bz2
openocd+libswd-557d1b6490fab73bd0df0b1127275db784281595.tar.xz
openocd+libswd-557d1b6490fab73bd0df0b1127275db784281595.zip
Sync with official Jim Tcl repository.
Diffstat (limited to 'src/helper/jim.h')
-rw-r--r--src/helper/jim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/jim.h b/src/helper/jim.h
index 0aa0c93d..089ccc15 100644
--- a/src/helper/jim.h
+++ b/src/helper/jim.h
@@ -87,7 +87,7 @@ extern "C" {
#endif /* _MSC_VER */
/* Long Long type and related issues */
-#ifdef HAVE_LONG_LONG_INT
+#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
# ifdef _MSC_VER /* MSC compiler */
# define jim_wide _int64
# ifndef LLONG_MAX
@@ -119,7 +119,7 @@ extern "C" {
* LIBC specific fixes
* ---------------------------------------------------------------------------*/
-#ifdef HAVE_LONG_LONG_INT
+#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
# if defined(_MSC_VER) || defined(__MSVCRT__) || defined(__MINGW32__)
# define JIM_WIDE_MODIFIER "I64d"
# else