[BACK]Return to stackmachine.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

Diff for /OpenXM/src/kan96xx/Kan/stackmachine.c between version 1.37 and 1.38

version 1.37, 2015/09/27 08:12:42 version 1.38, 2015/09/29 01:52:14
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/Kan/stackmachine.c,v 1.36 2006/02/02 05:55:33 takayama Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/Kan/stackmachine.c,v 1.37 2015/09/27 08:12:42 takayama Exp $ */
 /*   stackmachin.c */  /*   stackmachin.c */
   
 #include <stdio.h>  #include <stdio.h>
Line 20  causes the segfault because Mp_zero is borken. Is it a
Line 20  causes the segfault because Mp_zero is borken. Is it a
 Anyway, the following definition seems to be a workaround. 2015.09  Anyway, the following definition seems to be a workaround. 2015.09
 Singnals do not work properly on msys2. (gcc -dM -E ... to see macros defs)  Singnals do not work properly on msys2. (gcc -dM -E ... to see macros defs)
 */  */
 #if defined(__MSYS__)  #if defined(__MSYS__) || defined(__CYGWIN__)
 #define setjmp(e) _setjmp(e)  #define setjmp(e) _setjmp(e)
 #define sigsetjmp(e,n) _setjmp(e)  #define sigsetjmp(e,n) _setjmp(e)
 #endif  #endif

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>