#endif wrongly declared