<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -24,10 +24,16 @@ Contains methods related to the IoVM.
 #endif
 #endif
 
-#ifdef WIN32
+//#define WIN32
+#if defined(__CYGWIN__) || defined(_WIN32)
 #include &lt;windows.h&gt;
+#endif
 
-static void setenv(const char *varName, const char* value, int force)
+#ifdef WIN32
+#include &lt;windows.h&gt;
+#define _fullpath(res,path,size) \
+  (GetFullPathName ((path), (size), (res), NULL) ? (res) : NULL)    
+/*static void setenv(const char *varName, const char* value, int force)
 {
 	const char *safeValue;
 	char *buf;
@@ -61,9 +67,11 @@ static void setenv(const char *varName, const char* value, int force)
 	_putenv(buf);
 	io_free(buf);
 }
+*/
 
 //#define setenv(k, v, o) SetEnvironmentVariable((k), (v))
 
+
 IO_METHOD(IoObject, installPrefix)
 {
 
@@ -80,10 +88,6 @@ IO_METHOD(IoObject, installPrefix)
 }
 #endif
 
-#if defined(__CYGWIN__) || defined(_WIN32)
-#include &lt;windows.h&gt;
-#endif
-
 IoObject *IoSystem_proto(void *state)
 {
 	IoMethodTable methodTable[] = {</diff>
      <filename>libs/iovm/source/IoSystem.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3c7b983a344ab22ca86a2f4840e077bc1737dfca</id>
    </parent>
  </parents>
  <author>
    <name>Steve Dekorte</name>
    <email>steve@StevesLaptop-7.local</email>
  </author>
  <url>http://github.com/stevedekorte/io/commit/9ead08c1ef29e835a1ff43ec089cc979074a5a42</url>
  <id>9ead08c1ef29e835a1ff43ec089cc979074a5a42</id>
  <committed-date>2009-06-10T23:44:24-07:00</committed-date>
  <authored-date>2009-06-10T23:44:24-07:00</authored-date>
  <message>IoSystem update from pgregory</message>
  <tree>dba8ac29c1ec98b615c503284ee7c82f1181e9f2</tree>
  <committer>
    <name>Steve Dekorte</name>
    <email>steve@StevesLaptop-7.local</email>
  </committer>
</commit>
