Fix windows build.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4416 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
09ad4f0320
commit
8c7bd7dc11
@ -638,8 +638,11 @@ int main(int argc, char* argv[])
|
||||
#endif
|
||||
if (use_error_handler)
|
||||
{
|
||||
if (signal(SIGSEGV, _error_handler) == SIG_ERR ||
|
||||
signal(SIGSYS, _error_handler) == SIG_ERR)
|
||||
if (
|
||||
#if !defined(_WIN32)
|
||||
signal(SIGSYS, _error_handler) == SIG_ERR ||
|
||||
#endif
|
||||
signal(SIGSEGV, _error_handler) == SIG_ERR)
|
||||
{
|
||||
perror("signal");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user