Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't rely on SIGIO

SIGIO is not part of POSIX, and Haiku does not support it.
map.c contains checks to handle this, but old-map.c doesn't.
Its generator make-map no longer exists, so let's insert the
check manually.

2010-03-23  Andreas Faerber  <andreas.faerber@web.de>

	* old-map.c (map_Mono_Posix_Signals): Fix build for platforms where
	SIGIO is not defined (Haiku).

This commit is licensed under the MIT X11 license.

svn path=/trunk/mono/; revision=154029
  • Loading branch information...
commit 5640cf3fc706be8cd8bb41d8a546adedd45b9d8b 1 parent 3f26a90
Andreas Färber afaerber authored

Showing 2 changed files with 9 additions and 0 deletions. Show diff stats Hide diff stats

  1. +7 0 support/ChangeLog
  2. +2 0  support/old-map.c
7 support/ChangeLog
... ... @@ -1,3 +1,10 @@
  1 +2010-03-23 Andreas Faerber <andreas.faerber@web.de>
  2 +
  3 + * old-map.c (map_Mono_Posix_Signals): Fix build for platforms where
  4 + SIGIO is not defined (Haiku).
  5 +
  6 + Code is contributed under MIT/X11 license.
  7 +
1 8 2010-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2 9
3 10 * serial.cs: Add 921600 to the list of possible baud rates, and
2  support/old-map.c
@@ -159,8 +159,10 @@ int map_Mono_Posix_Signals (int x)
159 159 return SIGPROF;
160 160 if (x == Mono_Posix_Signals_SIGWINCH)
161 161 return SIGWINCH;
  162 +#ifdef SIGIO
162 163 if (x == Mono_Posix_Signals_SIGIO)
163 164 return SIGIO;
  165 +#endif
164 166 if (x == Mono_Posix_Signals_SIGSYS)
165 167 return SIGSYS;
166 168 return -1;

0 comments on commit 5640cf3

Please sign in to comment.
Something went wrong with that request. Please try again.