Fixed compile errors in switch cases

This commit is contained in:
n00b
2024-09-15 22:37:32 -04:00
parent f013e6ba71
commit 526478b618
14 changed files with 2297 additions and 1097 deletions

View File

@@ -1405,8 +1405,9 @@ inline std::string rc_intern_env(std::string v)
#endif
}
inline int rc_intern_setEnv(std::string name, std::string value, int overwrite)
inline int rc_intern_setEnv(std::string name, std::string value)
{
int overwrite = 1;
#ifdef RC_WINDOWS
//string env_cmd = name + "=" + value;
return SetEnvironmentVariable(name.c_str(), value.c_str()) ? 1 : 0;
@@ -1649,4 +1650,10 @@ std::string rc_intern_android_jni_message(std::string arg_c)
}
#endif
int rc_numCPUs()
{
return SDL_GetCPUCount();
}
#endif // RC_STDLIB_H_INCLUDED