Added #ifdef, #else and #endif directives for basic conditional compilation.