I'm not a veteran in Pawn but I've dealt with these in C++. Those things are similar to the way you use if statements.
Let's say we have this somewhere on the top.
#define foo 1
You can then use #endif, #if_defined, etc like this
#if_defined foo
//Something here
#endif
Don't know if I used the correct syntax as the things I learned is for C++.