summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-09-16 20:34:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-09-16 20:34:22 (GMT)
commitd05ad6292c701a8d10a3cc2d855b8e7e8e29397a (patch)
treea934bb1899c953286f5751213fd1c49b6d3b3577 /src
parent1c72ffcbe310e13d7dda73fa78d6ea4f93636c3e (diff)
downloadDoxygen-d05ad6292c701a8d10a3cc2d855b8e7e8e29397a.zip
Doxygen-d05ad6292c701a8d10a3cc2d855b8e7e8e29397a.tar.gz
Doxygen-d05ad6292c701a8d10a3cc2d855b8e7e8e29397a.tar.bz2
Fixed compile problem for windows (_getenv)
Diffstat (limited to 'src')
-rw-r--r--src/config.l5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/config.l b/src/config.l
index 07fde20..088c126 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1186,20 +1186,17 @@ void Config::check()
}
#undef PUTENV
-#undef GETENV
#undef SEP
#if defined(_WIN32) && !defined(__GNUC__) && (__BORLANDC__ < 0x0550)
#define PUTENV _putenv
-#define GETENV _getenv
#define SEP ";"
#else
#define PUTENV putenv
-#define GETENV getenv
#define SEP ":"
#endif
if (Config_getBool("HAVE_DOT"))
{
- char *curFontPath = GETENV("DOTFONTPATH");
+ char *curFontPath = getenv("DOTFONTPATH");
int l=curFontPath ? strlen(curFontPath)+1 : 0;
static char *buf = 0;
buf = (char *)realloc(buf,strlen("DOTFONTPATH=.")+l+1);