diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-04 04:57:27 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-04 04:57:27 +0000 |
commit | 37c32dc6d196d882561d45337da64e1b8d8def7c (patch) | |
tree | 245e307b738f31f33c4dd70928379ee213b18d63 /process.c | |
parent | 92861bb0dea5d306b6c5927efa8d262a5f493dce (diff) | |
download | ruby-37c32dc6d196d882561d45337da64e1b8d8def7c.tar.gz |
* process.c: define sig_t if not exist.
at least Solaris 10 and 11 doesn't have sig_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -253,6 +253,9 @@ typedef unsigned long unsigned_clock_t; #elif defined(HAVE_LONG_LONG) && SIZEOF_CLOCK_T == SIZEOF_LONG_LONG typedef unsigned LONG_LONG unsigned_clock_t; #endif +#ifdef HAVE_SIG_T +typedef void (*sig_t) (int); +#endif static ID id_in, id_out, id_err, id_pid, id_uid, id_gid; static ID id_close, id_child; |