diff options
| author | David Allsopp <david.allsopp@metastack.com> | 2017-03-08 11:29:24 +0000 |
|---|---|---|
| committer | David Allsopp <david.allsopp@metastack.com> | 2017-03-28 13:19:21 +0000 |
| commit | 7fefb22da730d4373f416d7b216772edbf4fa115 (patch) | |
| tree | c4c5dcb1b23fecd6ef4d097934295cf2e4f31fdd /config | |
| parent | f6b1bae69b4849193a387ebe208c39eee2d770c7 (diff) | |
| download | ocaml-7fefb22da730d4373f416d7b216772edbf4fa115.tar.gz | |
Move INT64_LITERAL from byterun/ints.c to m.h
Diffstat (limited to 'config')
| -rw-r--r-- | config/m-nt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/m-nt.h b/config/m-nt.h index d7a2167c3b..56a50feb79 100644 --- a/config/m-nt.h +++ b/config/m-nt.h @@ -49,3 +49,10 @@ #undef NONSTANDARD_DIV_MOD #define PROFINFO_WIDTH 0 + +/* Microsoft introduced the LL integer literal suffix in Visual C++ .NET 2003 */ +#if defined(_MSC_VER) && _MSC_VER < 1400 +#define INT64_LITERAL(s) s ## i64 +#else +#define INT64_LITERAL(s) s ## LL +#endif |
