mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:13:38 +03:00
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:
parent
3e20192ff2
commit
022f1766f9
4 changed files with 18 additions and 8 deletions
|
|
@ -19,7 +19,7 @@ OPENSSL_PATH = ../../openssl-0.9.5a
|
|||
## Nothing more to do below this line!
|
||||
|
||||
INCLUDES = -I. -I.. -I../include
|
||||
CFLAGS = -g -O2
|
||||
CFLAGS = -g -O2 -DMINGW32
|
||||
LDFLAGS =
|
||||
COMPILE = $(CC) $(INCLUDES) $(CFLAGS)
|
||||
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue