Commit c61f8941 authored by dons's avatar dons
Browse files

[project @ 2004-10-03 02:04:29 by dons]

Make sure genericRaise symbol is defined on all platforms, so Linker.c
won't complain, even if they don't actually use it.
parent 65fd4516
......@@ -304,12 +304,10 @@ heapCheckFail( void )
* when we have a threaded rts. So System.Posix.Signals will call
* genericRaise(), rather than raise(3).
#if defined(openbsd_TARGET_OS)
int genericRaise(int sig) {
# if defined(THREADED_RTS)
#if defined(THREADED_RTS) && defined(openbsd_TARGET_OS)
return pthread_kill(pthread_self(), sig);
# else
return raise(sig);
# endif
......@@ -50,8 +50,6 @@ extern void heapCheckFail( void );
extern void* __hscore_get_saved_termios(int fd);
extern void __hscore_set_saved_termios(int fd, void* ts);
#if defined(openbsd_TARGET_OS)
extern int genericRaise(int sig);
#endif // RTSUTILS_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment