Add C++ guards