1 | // intmax_c.cpp --------------------------------------------------------------// |
---|---|
2 | |
3 | // Copyright 2010 Vicente J. Botet Escriba |
4 | |
5 | // Distributed under the Boost Software License, Version 1.0. |
6 | // See http://www.boost.org/LICENSE_1_0.txt |
7 | |
8 | #include <boost/cstdint.hpp> |
9 | |
10 | #ifdef INTMAX_C |
11 | #define BOOST_INTMAX_C(a) INTMAX_C(a) |
12 | #else |
13 | #define BOOST_INTMAX_C(a) a##LL |
14 | #endif |
15 | |
16 | boost::intmax_t i = BOOST_INTMAX_C(1000000000); |
17 | int main() { |
18 | return (i); |
19 | } |
20 |