ifdef

ifdef

 英

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

例句

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

第一方法简单代码使用#ifdef支持系统例如BSDSystemV

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语句更改规则内容