mirror of
https://github.com/curl/curl.git
synced 2026-07-24 05:07:17 +03:00
Added S_ISREG define for Win32.
This commit is contained in:
parent
ca10e28f06
commit
3238ef5b69
2 changed files with 10 additions and 0 deletions
|
|
@ -391,6 +391,11 @@
|
|||
/* Windows should not have HAVE_GMTIME_R defined */
|
||||
/* #undef HAVE_GMTIME_R */
|
||||
|
||||
/* Define S_ISREG if not defined by system headers */
|
||||
#ifndef S_ISREG
|
||||
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
||||
#endif
|
||||
|
||||
/* Define if the compiler supports C99 variadic macro style. */
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
|
||||
#define HAVE_VARIADIC_MACROS_C99 1
|
||||
|
|
|
|||
|
|
@ -272,6 +272,11 @@
|
|||
/* Windows should not have HAVE_GMTIME_R defined */
|
||||
/* #undef HAVE_GMTIME_R */
|
||||
|
||||
/* Define S_ISREG if not defined by system headers */
|
||||
#ifndef S_ISREG
|
||||
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
||||
#endif
|
||||
|
||||
/* Define if the compiler supports C99 variadic macro style. */
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
|
||||
#define HAVE_VARIADIC_MACROS_C99 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue