Added a define in the Mingw32 makefiles to allow parts of the config-win32

files depend on that as well. It turned out Borland has no unistd.h file
either, only mingw32 seems to use that.
This commit is contained in:
Daniel Stenberg
2000-06-14 14:28:45 +00:00
parent 3e20192ff2
commit 022f1766f9
4 changed files with 18 additions and 8 deletions

View File

@@ -8,11 +8,21 @@
/* Define cpu-machine-OS */
#define OS "win32"
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the <io.h> header file. */
#define HAVE_IO_H 1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/*************************************************
* This section is for compiler specific defines.*
*************************************************/
#ifdef MINGW32 /* Borland and MS don't have this */
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
#endif