2021-04-16: __COMPILER_PASS
The PAWN compiler does TWO pre-processing stages. It?s rare that this is a problem, but if you need to know which stage is being run you can do:
Alternatively:
The PAWN compiler does TWO pre-processing stages. It?s rare that this is a problem, but if you need to know which stage is being run you can do:
Quote:
#if __COMPILER_PASS == 0
#else // 1 for second pass.
#endif
Alternatively:
Quote:
#if COMPILER_1ST_PASS
#else // Or COMPILER_2ND_PASS
#endif