Could you add a #ifdef WIN32 to prevent it to be declared on other platforms?