diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-13 15:58:23 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-13 15:58:23 +0000 |
commit | 92d88e90577bab41fc243c8f865146c730a9a752 (patch) | |
tree | 92749beba311622d18d1e91b6abc7bcf6095c181 | |
parent | 90db03bac1fa3a30df9223ebcbbf7d31e895303d (diff) | |
download | ioquake3-aero-92d88e90577bab41fc243c8f865146c730a9a752.tar.gz ioquake3-aero-92d88e90577bab41fc243c8f865146c730a9a752.zip |
* Fix MinGW build (it doesn't have _putenv_s)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1665 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/qcommon/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c index b8bef85..b24e4ce 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -2364,7 +2364,7 @@ void Com_Setenv_f(void) #ifdef _WIN32 // windows already removes env variable if value is an empty string - _putenv_s(arg1, arg2); + _putenv(va("%s=%s", arg1, arg2)); #else if(!*arg2) unsetenv(arg1); |