We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a362edf commit d29a79aCopy full SHA for d29a79a
win32/glob.c
@@ -66,6 +66,17 @@
66
# define ARG_MAX 14500
67
# endif
68
#endif
69
+# ifndef PATH_MAX
70
+# define PATH_MAX MAXPATHLEN
71
+# endif
72
+/* Windows defines SIZE_MAX but not SSIZE_MAX */
73
+# ifndef SSIZE_MAX
74
+# ifdef _WIN64
75
+# define SSIZE_MAX _I64_MAX
76
+# else
77
+# define SSIZE_MAX INT_MAX
78
79
80
81
82
#include "php.h"
0 commit comments