Define "inline" iff __cplusplus is not defined.

To avoid VC++ error C1189.