/* Declaration for the function of no_calc_detect.asm for Sim. */ #ifndef HAVE_NO_CALC_DETECT_H #define HAVE_NO_CALC_DETECT_H void xPatchNoCalcDetect (void *prgm, unsigned long plen, char this_calc); void UninstNoCalcDetect (void); #define PatchNoCalcDetect(prgm, plen, this_calc) do { \ xPatchNoCalcDetect (prgm, plen, this_calc); \ xatexit ((atexit_t)UninstNoCalcDetect); } while (0) #endif /* not HAVE_NO_CALC_DETECT_H */