fixed problem with signal() in SURVEYOR_HOST
git-svn-id: http://picoc.googlecode.com/svn/trunk@282 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
5cece5090c
commit
db9219a324
|
@ -33,8 +33,7 @@ void PlatformLibraryInit()
|
|||
|
||||
void Csignal(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) // check for kbhit, return t or nil
|
||||
{
|
||||
unsigned char ch;
|
||||
if (getchar(&ch))
|
||||
if (getsignal())
|
||||
ReturnValue->Val->Integer = 1;
|
||||
else
|
||||
ReturnValue->Val->Integer = 0;
|
||||
|
|
Loading…
Reference in a new issue