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

ruby-changes:10227

From: nobu <ko1@a...>
Date: Sun, 25 Jan 2009 16:44:47 +0900 (JST)
Subject: [ruby-changes:10227] Ruby:r21771 (trunk): * dln.c (FUNCNAME_PATTERN): simplified conditional expression.

nobu	2009-01-25 16:44:39 +0900 (Sun, 25 Jan 2009)

  New Revision: 21771

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

  Log:
    * dln.c (FUNCNAME_PATTERN): simplified conditional expression.

  Modified files:
    trunk/dln.c

Index: dln.c
===================================================================
--- dln.c	(revision 21770)
+++ dln.c	(revision 21771)
@@ -91,7 +91,7 @@
 #endif
 
 #ifndef FUNCNAME_PATTERN
-# if defined(__hp9000s300) ||  (defined(__NetBSD__) && !defined(__ELF__)) || defined(__BORLANDC__) || (defined(__FreeBSD__) && !defined(__ELF__)) || (defined(__OpenBSD__) && !defined(__ELF__)) || defined(NeXT) || defined(__WATCOMC__) || defined(MACOSX_DYLD)
+# if defined(__hp9000s300) || ((defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)) && !defined(__ELF__)) || defined(__BORLANDC__) || defined(NeXT) || defined(__WATCOMC__) || defined(MACOSX_DYLD)
 #  define FUNCNAME_PATTERN "_Init_%s"
 # else
 #  define FUNCNAME_PATTERN "Init_%s"

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

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