Port libSDL from Menuetlibc to Newlib

git-svn-id: svn://kolibrios.org@6347 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ashmew2
2016-03-16 11:49:38 +00:00
parent 2a90425400
commit 7199ee861f
6 changed files with 119 additions and 78 deletions

View File

@@ -115,7 +115,7 @@ int main(int argc, char *argv[])
}
printf("Setting FIRST=VALUE1 in the environment... ");
fflush(stdout);
if ( putenv("FIRST=VALUE1") == 0 ) {
if ( sdlputenv("FIRST=VALUE1") == 0 ) {
printf("okay\n");
} else {
printf("failed\n");
@@ -130,7 +130,7 @@ int main(int argc, char *argv[])
}
printf("Setting SECOND=VALUE2 in the environment... ");
fflush(stdout);
if ( putenv("SECOND=VALUE2") == 0 ) {
if ( sdlputenv("SECOND=VALUE2") == 0 ) {
printf("okay\n");
} else {
printf("failed\n");
@@ -145,7 +145,7 @@ int main(int argc, char *argv[])
}
printf("Setting FIRST=NOVALUE in the environment... ");
fflush(stdout);
if ( putenv("FIRST=NOVALUE") == 0 ) {
if ( sdlputenv("FIRST=NOVALUE") == 0 ) {
printf("okay\n");
} else {
printf("failed\n");