From 557d1b6490fab73bd0df0b1127275db784281595 Mon Sep 17 00:00:00 2001 From: oyvind Date: Mon, 19 Oct 2009 15:16:42 +0200 Subject: [PATCH] Sync with official Jim Tcl repository. --- src/helper/jim-eventloop.c | 3 +-- src/helper/jim.c | 3 +++ src/helper/jim.h | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/helper/jim-eventloop.c b/src/helper/jim-eventloop.c index edeeae71..fae46e89 100644 --- a/src/helper/jim-eventloop.c +++ b/src/helper/jim-eventloop.c @@ -52,8 +52,7 @@ #define __JIM_EVENTLOOP_CORE__ #ifdef __ECOS #include -#endif -#ifdef __ECOS +#include #include #include #else diff --git a/src/helper/jim.c b/src/helper/jim.c index dfee1dd5..117ec56f 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -53,6 +53,9 @@ #include #include #include + +typedef CYG_ADDRWORD intptr_t; + #include #include #include 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 -- 2.39.5