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

ruby-changes:28687

From: nobu <ko1@a...>
Date: Tue, 14 May 2013 23:27:35 +0900 (JST)
Subject: [ruby-changes:28687] nobu:r40739 (trunk): ruby.h: fix typo

nobu	2013-05-14 23:27:25 +0900 (Tue, 14 May 2013)

  New Revision: 40739

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

  Log:
    ruby.h: fix typo
    
    * include/ruby/ruby.h (ruby_check_sizeof_long_long): fix typo of
      availablity macro.  [ruby-dev:47341]

  Modified files:
    trunk/include/ruby/ruby.h

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 40738)
+++ include/ruby/ruby.h	(revision 40739)
@@ -103,7 +103,7 @@ typedef unsigned LONG_LONG ID; https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L103
 
 typedef char ruby_check_sizeof_int[SIZEOF_INT == sizeof(int) ? 1 : -1];
 typedef char ruby_check_sizeof_long[SIZEOF_LONG == sizeof(long) ? 1 : -1];
-#ifdef SIZEOF_LONG_LONG
+#ifdef HAVE_LONG_LONG
 typedef char ruby_check_sizeof_long_long[SIZEOF_LONG_LONG == sizeof(LONG_LONG) ? 1 : -1];
 #endif
 typedef char ruby_check_sizeof_voidp[SIZEOF_VOIDP == sizeof(void*) ? 1 : -1];

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

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