diff options
| author | JosJuice <josjuice@gmail.com> | 2022-01-29 18:36:26 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2022-01-29 18:38:55 +0100 |
| commit | b8a6fcb1a727094ed590aab772e4bfb1929d46f0 (patch) | |
| tree | df2a214ec4958b4f972ebc11df7b6552d59fc1a5 /Source/Android/jni/GameList/GameFile.cpp | |
| parent | af5678ea758d493c419ca53c56a0ce4f8fa0ca0f (diff) | |
Android: Get rid of __cplusplus macro checks
These files cannot compile correctly as C, so there's no reason to have
ifdefs for C compatibility.
We switched to not checking the __cplusplus macro in our JNI code some
time ago, but it seems like I forgot to remove it from these two files.
Diffstat (limited to 'Source/Android/jni/GameList/GameFile.cpp')
| -rw-r--r-- | Source/Android/jni/GameList/GameFile.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Android/jni/GameList/GameFile.cpp b/Source/Android/jni/GameList/GameFile.cpp index e62052966d..3bf60beb28 100644 --- a/Source/Android/jni/GameList/GameFile.cpp +++ b/Source/Android/jni/GameList/GameFile.cpp @@ -36,9 +36,7 @@ jobject GameFileToJava(JNIEnv* env, std::shared_ptr<const UICommon::GameFile> ga reinterpret_cast<jlong>(new std::shared_ptr<const UICommon::GameFile>(std::move(game_file)))); } -#ifdef __cplusplus extern "C" { -#endif JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_finalize(JNIEnv* env, jobject obj) @@ -201,7 +199,4 @@ JNIEXPORT jobject JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_parse(JN return GameFileToJava(env, game_file); } - -#ifdef __cplusplus } -#endif |
