I am using a `#ifdef` block to conditionally include a block of code based on -`Dflag` passed to the compiler.

Is there a way to implement this with an `if`?

Something along the lines of:

```
if (defined(flag)) {

}

```