ITPub博客

首页 > Linux操作系统 > Linux操作系统 > [转载]条件编译变量

[转载]条件编译变量

原创 Linux操作系统 作者:dinner1007 时间:2019-06-26 11:45:05 0 删除 编辑
条件编译变量

条件编译变量

下面是条件编译可用的预定义变量。如果变量不是 true,就不被定义或者作为 NaN 处理。

变量 描述
@_win32 在 Win32 系统上运行为 true。
@_win16 在 Win16 系统上运行为 true。
@_mac 在 Apple Macintosh 系统上运行为 true。
@_alpha 在 DEC Alpha 处理器上运行为 true。
@_x86 在 Intel 处理器上运行为 true。
@_mc680x0 在 Motorola 680x0 处理器上运行为 true。
@_PowerPC 在 Motorola PowerPC 处理器上运行为 true。
@_jscript 永远为 true。
@_jscript_build 包含 Jscript 脚本引擎创建号。
@_jscript_version 包含以 major、minor 为格式的 Jscript 版本号。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/374079/viewspace-130399/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2018-08-23

  • 博文量
    1714
  • 访问量
    1477618