This commit is contained in:
Glenn Maynard
2002-12-17 08:20:55 +00:00
parent 260bf22a29
commit bf1efc8cf6
@@ -1,7 +1,20 @@
#ifndef ARCH_SETUP_WINDOWS_H
#define ARCH_SETUP_WINDOWS_H
/* Fix Windows breakage. */
#define PATH_MAX _MAX_PATH
#include <direct.h> /* has stuff that should be in unistd.h */
#define getcwd _getcwd
#define wgetcwd _wgetcwd
#define chdir _chdir
#define wchdir _wchdir
#define alloca _alloca
#define stat _stat
#define lstat _stat
#endif