aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-18 18:57:13 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-18 18:57:13 +0000
commit6b301232d846c96ba2687edd0e87e554e6167589 (patch)
treeafa8a4c1febc46619dc2c1b12a150961323c2925
parentc97887afb172abbfca8d4d968e8b3d947f747335 (diff)
lots of MinGW fixes for RC6
svn path=/trunk/externals/cxc/; revision=4250
-rw-r--r--ENV.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ENV.c b/ENV.c
index d2bba4d..772e4e1 100644
--- a/ENV.c
+++ b/ENV.c
@@ -5,6 +5,10 @@
#include "m_pd.h"
#include <stdlib.h>
+#ifdef _WIN32
+#define setenv(a,b,c) _putenv(a)
+#endif /* _WIN32 */
+
#ifndef RAND_MAX
#define RAND_MAX 2147483647
#endif