diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2014-04-18 10:00:42 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2014-04-18 10:00:42 +0000 |
commit | dd17af8b4342a8255173ebda7102e50de1bd2ec9 (patch) | |
tree | 0e7a44b48da0fb67024b3cb8e45caf2d0f98267d /configure | |
parent | 86bd9990f46272873db0d5f897201324279a355c (diff) | |
download | ocaml-dd17af8b4342a8255173ebda7102e50de1bd2ec9.tar.gz |
Simpler variant of commit r14635:
- configure: no change necessary
- byterun/config.h: make sure ARCH_INT64_TYPE and related macros
are always defined, for Coq and others to use.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -529,19 +529,6 @@ echo "#define SIZEOF_PTR $3" >> m.h echo "#define SIZEOF_SHORT $4" >> m.h echo "#define SIZEOF_LONGLONG $5" >> m.h -# Temporary fix: some OCaml programs, e.g. Coq, assume that -# ARCH_INT64_TYPE is defined in config/m.h. Put a definition -# there, even if it duplicates the logic present in config.h -if test $5 = 8; then - echo '#define ARCH_INT64_TYPE long long' >> m.h - echo '#define ARCH_UINT64_TYPE unsigned long long' >> m.h - echo '#define ARCH_INT64_PRINTF_FORMAT "ll"' >> m.h -else - echo '#define ARCH_INT64_TYPE long' >> m.h - echo '#define ARCH_UINT64_TYPE unsigned long' >> m.h - echo '#define ARCH_INT64_PRINTF_FORMAT "l"' >> m.h -fi - # Determine endianness sh ./runtest endian.c |