From b317a4cd28f575b60cdff0da86afef5c1bde9a06 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 24 Oct 2011 13:49:58 +0000 Subject: * io.c: use "__sun" instead of "sun" to detect SunOS. * dln.c: ditto. * cont.c: ditto. * ext/sdbm/_sdbm.c: ditto. [ruby-dev:44693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/sdbm/_sdbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/sdbm/_sdbm.c') diff --git a/ext/sdbm/_sdbm.c b/ext/sdbm/_sdbm.c index 28e5b03b31..553190fe9c 100644 --- a/ext/sdbm/_sdbm.c +++ b/ext/sdbm/_sdbm.c @@ -110,7 +110,7 @@ static int duppair proto((char *, datum)); /* * externals */ -#if !defined sun && !defined _WIN32 && !defined __CYGWIN__ && !defined(errno) +#if !defined(__sun) && !defined(_WIN32) && !defined(__CYGWIN__) && !defined(errno) extern int errno; #endif -- cgit v1.2.3