ifdef

ifdef

美  英

  • 网络条件编译;编译开关;是相反的意思

例句

The first approach was simply to have #ifdefs in code for the two systems supported; for instance, BSD and System V.

第一个方法很简单,在代码中使用#ifdef以支持两种系统,例如BSD和SystemV。

To achieve this mapping, you may include conditional compilation #ifdef in places where you access the registers.

要实现这种映射,在访问这些寄存器中的地方可以使用条件编译#ifdef语句。

As shown in the example in Listing 2, you can guard Purify API calls in your program by surrounding them with #ifdef definition guards.

正如列表2的例子所显示的那样,您可以通过将它们与#ifdef定义保护包围在一起,从而在您的程序中保护PurifyAPI调用程序。

Using this, you can code #ifdef statements for conditional compiles.

可以使用这个宏编写条件编译所需的#ifdef语句。

A single #ifdef is needed to initialize the path on a per-operating system basis.

需要单个#ifdef来按操作系统初始化path对象。

Actually it is not guaranteed that the file will be safely imported (ResEdit does not really understand # ifdef for example).

实际上它是保证不的文件将会安全地被输入。

In addition to Extend, you can also use a Replace method (think of #ifdef statements in C, for example) to change a rule's contents.

除了Extend,您也可以使用Replace方法(例如,想想C中的#ifdef语句)来更改规则的内容。

热门查询