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:
parent
702250a412
commit
d966f1b2f3
2
pack.c
2
pack.c
@ -69,7 +69,7 @@ static const char endstr[] = "sSiIlLqQ";
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LONG_LONG
|
#ifdef HAVE_LONG_LONG
|
||||||
# define NATINT_LEN_Q NATINT_LEN(long long, 8)
|
# define NATINT_LEN_Q NATINT_LEN(LONG_LONG, 8)
|
||||||
#else
|
#else
|
||||||
# define NATINT_LEN_Q 8
|
# define NATINT_LEN_Q 8
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user