diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-01-29 20:13:23 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-01-29 20:13:23 (GMT) |
commit | 27b5dd5b526154944bb1997fb7a592343d124595 (patch) | |
tree | 0653bda058f25d9420dd6ddcaf4edc28781a8aa4 /src/portable.cpp | |
parent | f1662f81dd249c51e4d8f9a64ea226f511b0bfbc (diff) | |
download | Doxygen-27b5dd5b526154944bb1997fb7a592343d124595.zip Doxygen-27b5dd5b526154944bb1997fb7a592343d124595.tar.gz Doxygen-27b5dd5b526154944bb1997fb7a592343d124595.tar.bz2 |
Release-1.5.8-20090129
Diffstat (limited to 'src/portable.cpp')
-rw-r--r-- | src/portable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable.cpp b/src/portable.cpp index 7bbe33f..03d5366 100644 --- a/src/portable.cpp +++ b/src/portable.cpp @@ -180,7 +180,7 @@ static char **last_environ; void portable_setenv(const char *name,const char *value) { -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN__) SetEnvironmentVariable(name,value); #else register char **ep = 0; @@ -259,7 +259,7 @@ void portable_setenv(const char *name,const char *value) void portable_unsetenv(const char *variable) { -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN__) SetEnvironmentVariable(variable,0); #else /* Some systems don't have unsetenv(), so we do it ourselves */ |