Sync with official Jim Tcl repository.
This commit is contained in:
parent
89a8a37998
commit
557d1b6490
|
@ -52,8 +52,7 @@
|
||||||
#define __JIM_EVENTLOOP_CORE__
|
#define __JIM_EVENTLOOP_CORE__
|
||||||
#ifdef __ECOS
|
#ifdef __ECOS
|
||||||
#include <pkgconf/jimtcl.h>
|
#include <pkgconf/jimtcl.h>
|
||||||
#endif
|
#include <sys/time.h>
|
||||||
#ifdef __ECOS
|
|
||||||
#include <cyg/jimtcl/jim.h>
|
#include <cyg/jimtcl/jim.h>
|
||||||
#include <cyg/jimtcl/jim-eventloop.h>
|
#include <cyg/jimtcl/jim-eventloop.h>
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -53,6 +53,9 @@
|
||||||
#include <pkgconf/jimtcl.h>
|
#include <pkgconf/jimtcl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
typedef CYG_ADDRWORD intptr_t;
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
|
@ -87,7 +87,7 @@ extern "C" {
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
/* Long Long type and related issues */
|
/* Long Long type and related issues */
|
||||||
#ifdef HAVE_LONG_LONG_INT
|
#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
|
||||||
# ifdef _MSC_VER /* MSC compiler */
|
# ifdef _MSC_VER /* MSC compiler */
|
||||||
# define jim_wide _int64
|
# define jim_wide _int64
|
||||||
# ifndef LLONG_MAX
|
# ifndef LLONG_MAX
|
||||||
|
@ -119,7 +119,7 @@ extern "C" {
|
||||||
* LIBC specific fixes
|
* LIBC specific fixes
|
||||||
* ---------------------------------------------------------------------------*/
|
* ---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifdef HAVE_LONG_LONG_INT
|
#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
|
||||||
# if defined(_MSC_VER) || defined(__MSVCRT__) || defined(__MINGW32__)
|
# if defined(_MSC_VER) || defined(__MSVCRT__) || defined(__MINGW32__)
|
||||||
# define JIM_WIDE_MODIFIER "I64d"
|
# define JIM_WIDE_MODIFIER "I64d"
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Reference in New Issue