Android: Remove #ifdef __cplusplus checks

A C compiler would very much be unable to build this code anyway.
This commit is contained in:
JosJuice 2021-03-03 23:01:14 +01:00
commit d99d72f5a6
4 changed files with 2 additions and 22 deletions

View file

@ -94,9 +94,7 @@ static void Set(jint layer, const Config::Location& location, T value)
Config::OnConfigChanged();
}
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT jboolean JNICALL
Java_org_dolphinemu_dolphinemu_features_settings_model_NativeConfig_isSettingSaveable(
@ -210,7 +208,4 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_features_settings_model_Na
{
return Set(layer, GetLocation(env, file, section, key), value);
}
#ifdef __cplusplus
}
#endif