mirror of
https://github.com/lammertb/libhttp.git
synced 2025-09-03 01:21:16 +03:00
Disable 'MSVC deprecated POSIX' warning
This commit is contained in:
@@ -65,6 +65,11 @@ extern char *_getcwd(char *buf, size_t size);
|
|||||||
#endif
|
#endif
|
||||||
static int guard = 0; /* test if any dialog is already open */
|
static int guard = 0; /* test if any dialog is already open */
|
||||||
|
|
||||||
|
#if defined (_MSC_VER)
|
||||||
|
#define strdup _strdup
|
||||||
|
/* or #pragma warning (disable : 4996 ) */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX MAX_PATH
|
#define PATH_MAX MAX_PATH
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user