intmax_c.cpp 447 B

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