Minor fix (replace #ifdef by #endif)