Skip to content

Commit

Permalink
ecos: eCos has 64 bit integers
Browse files Browse the repository at this point in the history
jim_wide is now 64 bit under eCos.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
  • Loading branch information
oharboe committed Jun 7, 2010
1 parent 4d4cfb8 commit 2480124
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ecos/language/tcl/jim/current/cdl/jimtcl.cdl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ cdl_package CYGPKG_JIMTCL {
display "Additional compiler flags"
flavor data
no_define
default_value { "-D__ECOS" }
default_value { "-D__ECOS -DHAVE_LONG_LONG_INT" }
description "
This option modifies the set of compiler flags for
building the HTTP server package.
Expand Down
4 changes: 2 additions & 2 deletions ecos/language/tcl/jim/current/include/jim.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ extern "C" {
#endif /* _MSC_VER */

/* Long Long type and related issues */
#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
#if defined(HAVE_LONG_LONG_INT)
# ifdef _MSC_VER /* MSC compiler */
# define jim_wide _int64
# ifndef LLONG_MAX
Expand Down Expand Up @@ -119,7 +119,7 @@ extern "C" {
* LIBC specific fixes
* ---------------------------------------------------------------------------*/

#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
#if defined(HAVE_LONG_LONG_INT)
# if defined(_MSC_VER) || defined(__MSVCRT__) || defined(__MINGW32__)
# define JIM_WIDE_MODIFIER "I64d"
# else
Expand Down
4 changes: 2 additions & 2 deletions jim.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ extern "C" {
#endif /* _MSC_VER */

/* Long Long type and related issues */
#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
#if defined(HAVE_LONG_LONG_INT)
# ifdef _MSC_VER /* MSC compiler */
# define jim_wide _int64
# ifndef LLONG_MAX
Expand Down Expand Up @@ -119,7 +119,7 @@ extern "C" {
* LIBC specific fixes
* ---------------------------------------------------------------------------*/

#if !defined(__ECOS) && defined(HAVE_LONG_LONG_INT)
#if defined(HAVE_LONG_LONG_INT)
# if defined(_MSC_VER) || defined(__MSVCRT__) || defined(__MINGW32__)
# define JIM_WIDE_MODIFIER "I64d"
# else
Expand Down

0 comments on commit 2480124

Please sign in to comment.