mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
19 lines
406 B
C
19 lines
406 B
C
/*
|
|
* This file is modified by Ivan Maidanski <ivmai@ivmaisoft.com>
|
|
* Project name: JCGO-SUNAWT (http://www.ivmaisoft.com/jcgo/)
|
|
*/
|
|
|
|
#include <signal.h>
|
|
|
|
#include "jni.h"
|
|
|
|
#ifdef WITH_UNDERSCORE
|
|
#define JVM_RaiseSignal _JVM_RaiseSignal
|
|
#endif
|
|
|
|
JNIEXPORT jboolean JNICALL JVM_RaiseSignal(jint sig)
|
|
{ /* used only for SIGTERM (15) */
|
|
raise(sig); /* should use msvcrt.dll on win32 */
|
|
return JNI_TRUE;
|
|
}
|