/*
 *  error.C from ObjectProDSP 0.1
 *  Copyright (C) 1994, Mountain Math Software, All rights reserved.
 *  Licensed for free use and distribution under version 2 of the Gnu General
 *  Public License. Please see file COPYING for details and restrictions.
 *  
 *  ObjectProDSP is a trademark of Mountain Math Software.
 */
#include <iostream.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <libc.h>

#include "error.h"

void InternalError(char * msg)
{
#ifndef NO_OSFCN
	cerr << "Internal error: " << msg << ".\nJob terminated.\n" ;
	kill (getpid(),SIGQUIT);
	exit (2);
#else
	exit(1);
#endif
}

