ccbugcast.m4
来自「Cracker终结者——提供最优秀的软件保护技术」· M4 代码 · 共 24 行
M4
24 行
## --------------------------------------------------------- #### Checking if compiler correctly cast signed to unsigned. #### Adapted from zsh. #### --------------------------------------------------------- ### serial 1AC_DEFUN(mfx_PROG_CC_BUG_SIGNED_TO_UNSIGNED_CASTING,[AC_REQUIRE([AC_PROG_CC])dnlAC_REQUIRE([AC_PROG_CPP])dnlAC_CACHE_CHECK([whether signed to unsigned casting is broken],mfx_cv_prog_cc_bug_signed_to_unsigned_casting,[AC_TRY_COMPILE([], [#undef SIGNED#if defined(__STDC__) || defined(__cplusplus)#define SIGNED signed#else#define SIGNED#endifchar x[1 - 2 * ( (int)((unsigned char)((SIGNED char) -1)) != 255 )];],mfx_cv_prog_cc_bug_signed_to_unsigned_casting=no,mfx_cv_prog_cc_bug_signed_to_unsigned_casting=yes)])])
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?