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

ruby-changes:11175

From: nobu <ko1@a...>
Date: Thu, 5 Mar 2009 13:38:31 +0900 (JST)
Subject: [ruby-changes:11175] Ruby:r22780 (trunk): * win32/win32.c (Win32System, Win32Version): moved before get_version.

nobu	2009-03-05 13:38:23 +0900 (Thu, 05 Mar 2009)

  New Revision: 22780

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

  Log:
    * win32/win32.c (Win32System, Win32Version): moved before get_version.

  Modified files:
    trunk/win32/win32.c

Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 22779)
+++ win32/win32.c	(revision 22780)
@@ -196,6 +196,11 @@
 static const char *NTLoginName;
 
 static OSVERSIONINFO osver;
+#ifdef _M_IX86
+static DWORD Win32System = (DWORD)-1;
+#endif
+static DWORD Win32Version = (DWORD)-1;
+
 static void
 get_version(void)
 {
@@ -207,8 +212,6 @@
 }
 
 #ifdef _M_IX86
-static DWORD Win32System = (DWORD)-1;
-
 DWORD
 rb_w32_osid(void)
 {
@@ -218,7 +221,6 @@
     return (Win32System);
 }
 #endif
-static DWORD Win32Version = (DWORD)-1;
 
 static DWORD
 rb_w32_osver(void)

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

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