1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/wince/signal_wce.c

27 lines
464 B
C
Raw Normal View History

/***************************************************************
signal.c
***************************************************************/
#include <windows.h>
#include "signal.h"
/* lazy replacement... (^^; */
int raise(int sig)
{
return 0;
}
//#ifdef _WIN32_WCE
//#ifdef _WIN32_WCE_EMULATION
//void (* signal(int sig, void (*func)))
//{
// return sig;
//}
//#else
void (* signal(int sig, void (__cdecl *func)(int)))(int)
{
return sig;
}
//#endif
//#endif