Message224619
| Author |
rpetrov |
| Recipients |
BreamoreBoy, Nicholas.DiPiazza, Scott.Rostrup, jbinder, jlt63, rpetrov, stutzbach |
| Date |
2014年08月03日.08:31:05 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1407054665.25.0.379196336147.issue8548@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi Mark,
#else before is not solution. See unified diff below as post by Scott Rostrup lack definition
Some additional information:
a) move outside #ifdef HAVE_FCNTL_H : definition PATH_MAX is not related to control functions on open files (fcntl.h)
b) HAVE_FCNTL_H is defined for MSC build as well. so no impact on other build
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -9,6 +9,8 @@
#include <windows.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
+#endif
+#ifndef PATH_MAX
#define PATH_MAX MAXPATHLEN
#endif
#endif
-- |
|