mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 00:50:02 -04:00
Define PATH_MAX on Windows as _MAX_PATH, so we can use it everywhere
This commit is contained in:
parent
7749d7945f
commit
7467735258
2 changed files with 7 additions and 1 deletions
|
|
@ -13,8 +13,10 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_LMDB
|
||||
#include <lmdb.h>
|
||||
#include <lmdb.h>
|
||||
#endif
|
||||
|
||||
#include <isc/file.h>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,10 @@
|
|||
*** Network.
|
||||
***/
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#endif
|
||||
|
||||
#define ISC_PLATFORM_HAVEIPV6
|
||||
#if _MSC_VER > 1200
|
||||
#define ISC_PLATFORM_HAVEIN6PKTINFO
|
||||
|
|
|
|||
Loading…
Reference in a new issue