mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
cmake: Use SEXP_64BIT on Win64
Do not override SEXP_64BIT on Win64 as now we have custom-long-long for it.
This commit is contained in:
parent
f9bd4f9c0e
commit
432b763555
2 changed files with 0 additions and 15 deletions
|
@ -32,17 +32,6 @@ else()
|
|||
add_definitions(-DSEXP_USE_DL=0)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
if(MSVC)
|
||||
# On MSVC, SEXP_64_BIT is not supported for now (#438)
|
||||
add_definitions(-DSEXP_64_BIT=0)
|
||||
else()
|
||||
add_definitions(-DSEXP_64_BIT=1)
|
||||
endif()
|
||||
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
add_definitions(-DSEXP_64_BIT=0)
|
||||
endif()
|
||||
|
||||
if(HAVE_STDINT_H)
|
||||
add_definitions(-DSEXP_USE_INTTYPES=1)
|
||||
endif()
|
||||
|
|
|
@ -209,10 +209,6 @@ enum sexp_types {
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_MSC_VER) && SEXP_64_BIT
|
||||
/* On SEXP_64_BIT, 128bits arithmetic is mandatory */
|
||||
#error Unsupported configuration
|
||||
#endif
|
||||
#if SEXP_64_BIT
|
||||
typedef unsigned int sexp_tag_t;
|
||||
typedef unsigned long long sexp_uint_t;
|
||||
|
|
Loading…
Add table
Reference in a new issue