summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-02 07:50:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-02 07:50:36 +0000
commit40e566aef9e5d735bb638d836add209c2ca8ea8f (patch)
tree913bb5562143a9047dcf731f325c6a80614e5552 /io.c
parent4a454e046d667ba433e15cac6dade4dfdfe6b66f (diff)
downloadruby-40e566aef9e5d735bb638d836add209c2ca8ea8f.tar.gz
ruby-40e566aef9e5d735bb638d836add209c2ca8ea8f.tar.xz
ruby-40e566aef9e5d735bb638d836add209c2ca8ea8f.zip
* error.c: use HAVE_DECL_SYS_NERR instead of platform names.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 2754988aa..ba6b695df 100644
--- a/io.c
+++ b/io.c
@@ -73,8 +73,8 @@ struct timeval {
#include <sys/stat.h>
-/* EMX has sys/parm.h, but.. */
-#if defined(HAVE_SYS_PARAM_H) && !defined(__EMX__)
+/* EMX has sys/param.h, but.. */
+#if defined(HAVE_SYS_PARAM_H) && !(defined(__EMX__) || defined(__HIUX_MPP__))
# include <sys/param.h>
#else
# define NOFILE 64