summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
Diffstat (limited to 'addon')
-rw-r--r--addon/configgen/config_templ.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/configgen/config_templ.l b/addon/configgen/config_templ.l
index 6b6b248..c4310f3 100644
--- a/addon/configgen/config_templ.l
+++ b/addon/configgen/config_templ.l
@@ -976,7 +976,7 @@ void checkConfig()
}
#undef PUTENV
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(__GNUC__)
#define PUTENV _putenv
#else
#define PUTENV putenv