Africa is not a country, and Madagascar is not in Africa.
Never said it was.
I would consider it an African country, just like I consider Ireland part of Europe.