Subject: | C.xs(6) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory |
C.xs(6) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
This is not found on win32 systems, please change it to
#ifndef WIN32
#include <unistd.h>
#endif
You should also explicitly
#include <stdlib.h>
and finally, since setenv,unsetenv don't exist in microsoft land,
maybe you can add a note in the README/pod about this
not working on win32 unless you compiled using borland or other than MSVS,
or provide workarounds (putenv,getenv)