[前][次][番号順一覧][スレッド一覧]

ruby-changes:28074

From: nobu <ko1@a...>
Date: Fri, 5 Apr 2013 20:32:11 +0900 (JST)
Subject: [ruby-changes:28074] nobu:r40126 (trunk): pack.c: use LONG_LONG

nobu	2013-04-05 20:31:50 +0900 (Fri, 05 Apr 2013)

  New Revision: 40126

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40126

  Log:
    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.

  Modified files:
    trunk/pack.c

Index: pack.c
===================================================================
--- pack.c	(revision 40125)
+++ pack.c	(revision 40126)
@@ -69,7 +69,7 @@ static const char endstr[] = "sSiIlLqQ"; https://github.com/ruby/ruby/blob/trunk/pack.c#L69
 #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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]