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

ruby-changes:33658

From: kazu <ko1@a...>
Date: Tue, 29 Apr 2014 04:35:44 +0900 (JST)
Subject: [ruby-changes:33658] kazu:r45739 (trunk): fix preprocessor condition

kazu	2014-04-29 04:35:39 +0900 (Tue, 29 Apr 2014)

  New Revision: 45739

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

  Log:
    fix preprocessor condition

  Modified files:
    trunk/file.c
Index: file.c
===================================================================
--- file.c	(revision 45738)
+++ file.c	(revision 45739)
@@ -82,7 +82,7 @@ typedef struct statvfs statfs_t; https://github.com/ruby/ruby/blob/trunk/file.c#L82
 static VALUE rb_statfs_new(const statfs_t *st);
 #if defined(HAVE_FSTATFS)
 #define FSTATFS(f, s) fstatfs((f), (s))
-#elif !defined(HAVE_FSTATVFS)
+#elif defined(HAVE_FSTATVFS)
 #define FSTATFS(f, s) fstatvfs((f), (s))
 #endif
 #endif

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

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