summaryrefslogtreecommitdiff
path: root/dln_find.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-10 13:34:08 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-10 13:34:08 +0000
commite14a0042d25173f699042a3259cb32edcfc32bd9 (patch)
tree6803275434a232a296d41e82e0258c9c793a97c0 /dln_find.c
parenta18a4811a0713b0a2a9eadc7d7a74ca31e0d8da0 (diff)
downloadruby-e14a0042d25173f699042a3259cb32edcfc32bd9.tar.gz
* dln_find.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln_find.c')
-rw-r--r--dln_find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln_find.c b/dln_find.c
index 305a7f2b7c..2873152587 100644
--- a/dln_find.c
+++ b/dln_find.c
@@ -57,7 +57,7 @@ void *xrealloc();
#include <sys/stat.h>
#ifndef S_ISDIR
-# define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)
+# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
#ifdef HAVE_SYS_PARAM_H