projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove flash.h from tree
[fw/openocd]
/
src
/
helper
/
jim.h
diff --git
a/src/helper/jim.h
b/src/helper/jim.h
index 82d987f7cf8a0d18658db20aaf6524d845325d94..089ccc157cda4eff248b38f45db7dfeddc55f84e 100644
(file)
--- 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 */
#endif /* _MSC_VER */
/* Long Long type and related issues */
-#if
def HAVE_LONG_LONG_INT
+#if
!defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
# ifdef _MSC_VER /* MSC compiler */
# define jim_wide _int64
# ifndef LLONG_MAX
# ifdef _MSC_VER /* MSC compiler */
# define jim_wide _int64
# ifndef LLONG_MAX
@@
-119,8
+119,8
@@
extern "C" {
* LIBC specific fixes
* ---------------------------------------------------------------------------*/
* LIBC specific fixes
* ---------------------------------------------------------------------------*/
-#if
def HAVE_LONG_LONG_INT
-# if defined(_MSC_VER) || defined(__MSVCRT__)
+#if
!defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
+# if defined(_MSC_VER) || defined(__MSVCRT__)
|| defined(__MINGW32__)
# define JIM_WIDE_MODIFIER "I64d"
# else
# define JIM_WIDE_MODIFIER "lld"
# define JIM_WIDE_MODIFIER "I64d"
# else
# define JIM_WIDE_MODIFIER "lld"