Both Linux and Windows need this to be inside the extern 'C' like the one following.