pack.c: use LONG_LONG

* pack.c (NATINT_LEN_Q): do not use long long directly, use LONG_LONG
  instead.  fix compilation error on mswin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-04-05 11:31:50 +00:00
parent 702250a412
commit d966f1b2f3

2
pack.c
View File

@ -69,7 +69,7 @@ static const char endstr[] = "sSiIlLqQ";
#endif
#ifdef HAVE_LONG_LONG
# define NATINT_LEN_Q NATINT_LEN(long long, 8)
# define NATINT_LEN_Q NATINT_LEN(LONG_LONG, 8)
#else
# define NATINT_LEN_Q 8
#endif