diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2005-09-24 09:19:28 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2005-09-24 09:19:28 +0000 |
commit | 3577dd71d1b8baea8b2457fcd10a678290060940 (patch) | |
tree | 21a80afb8bc2b9a461c0eb66893ab87ca627eeaf /byterun/config.h | |
parent | ad5edb36c2ac01b166e16c741a5f75cfd4f18f44 (diff) |
Commentaires sur le choix de intnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/config.h')
-rw-r--r-- | byterun/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/byterun/config.h b/byterun/config.h index b2b765c18..a6a59e9c9 100644 --- a/byterun/config.h +++ b/byterun/config.h @@ -33,14 +33,17 @@ typedef signed char schar; #if SIZEOF_PTR == SIZEOF_LONG +/* Standard models: ILP32 or I32LP64 */ typedef long intnat; typedef unsigned long uintnat; #define ARCH_INTNAT_PRINTF_FORMAT "l" #elif SIZEOF_PTR == SIZEOF_INT +/* Hypothetical IP32L64 model */ typedef int intnat; typedef unsigned int uintnat; #define ARCH_INTNAT_PRINTF_FORMAT "" #elif SIZEOF_PTR == 8 && defined(ARCH_INT64_TYPE) +/* Win64 model: IL32LLP64 */ typedef ARCH_INT64_TYPE intnat; typedef ARCH_UINT64_TYPE uintnat; #define ARCH_INTNAT_PRINTF_FORMAT ARCH_INT64_PRINTF_FORMAT |