Skip to content

Commit c1edf8a

Browse files
committed
Fix setenv() for non-SDL2 bootstrap
1 parent fca5fc1 commit c1edf8a

File tree

1 file changed

+1
-1
lines changed
  • pythonforandroid/bootstraps/common/build/jni/application/src

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/common/build/jni/application/src/start.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ void Java_org_kivy_android_PythonActivity_nativeSetenv(
468468
const char *utfname = (*env)->GetStringUTFChars(env, name, NULL);
469469
const char *utfvalue = (*env)->GetStringUTFChars(env, value, NULL);
470470

471-
SDL_setenv(utfname, utfvalue, 1);
471+
setenv(utfname, utfvalue, 1);
472472

473473
(*env)->ReleaseStringUTFChars(env, name, utfname);
474474
(*env)->ReleaseStringUTFChars(env, value, utfvalue);

0 commit comments

Comments
 (0)