why not ifdef the whole function?  Seems strange to be able to call win32_get_service_status_state on a platform other than windows.