1 /* Auto-configuration for 16-bit Windows */ 2 #include <stdlib.h> 3 #include <stdio.h> 4 #include <memory.h> 5 #include <string.h> 6 #include <io.h> /* for mktemp */ 7 #include <sys/stat.h> 8 9 #ifndef PATH_MAX 10 #define PATH_MAX _MAX_PATH 11 #endif 12 13 #define HAVE_TIME_H 1 14 #define HAVE_LIMITS_H 1 15 #define HAVE_STRCMPI 1 16 #define HAVE_WINDOWS_H 1 17 #undef HAVE_WINIOCTL_H 18 19 /* VC++ 1.5 hides stat() behind underscores */ 20 #define stat _stat 21 #define S_ISDIR(x) ((x) & _S_IFDIR) 22 23