=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/oxmisc.c,v retrieving revision 1.26 retrieving revision 1.28 diff -u -p -r1.26 -r1.28 --- OpenXM/src/kan96xx/plugin/oxmisc.c 2006/05/06 10:53:36 1.26 +++ OpenXM/src/kan96xx/plugin/oxmisc.c 2015/09/27 08:12:42 1.28 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc.c,v 1.25 2005/07/03 11:08:54 ohara Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc.c,v 1.27 2013/11/06 06:23:24 takayama Exp $ */ #include #include #include @@ -24,6 +24,11 @@ FILE *MyErrorOut = NULL; #include "ox_kan.h" +#if defined(__MSYS__) +#define setjmp(e) _setjmp(e) +#define sigsetjmp(e,n) _setjmp(e) +#endif + #define READBUFSIZE 5000 int OxVersion = 200012030; @@ -180,7 +185,7 @@ int oxWaitSyncBall(ox_stream ostream) /* or stdout */ fflush(NULL); if (mtag == -1) { - fprintf(stderr,"Your peer seems to be dead.\n"); return; + fprintf(stderr,"Your peer seems to be dead.\n"); return 0; } } }