mirror of
https://github.com/curl/curl.git
synced 2026-08-26 08:53:32 +03:00
Mateusz Loskot pointed out that VC++ 9.0 (2008) has the pollfd struct and
defines in the SDK somehow differently so we have to add a define to the config-win32.h file to make select.h compile nicely.
This commit is contained in:
parent
82c9379b6c
commit
bcd7d03b3b
3 changed files with 15 additions and 1 deletions
|
|
@ -353,6 +353,14 @@
|
|||
#define _CRT_NONSTDC_NO_DEPRECATE 1
|
||||
#endif
|
||||
|
||||
/* Define to make select.h work fine on VC++ 9.0 (2008) */
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
|
||||
/* The poll struct and associated defines are present in the Windows SDK v6.0
|
||||
that comes with this version... */
|
||||
#define HAVE_STRUCT_POLLFD 1
|
||||
#endif
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
/* LDAP SUPPORT */
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue