This matches the declaration of g_open and helps tools (such as ASan) when running on non-native platforms.