Merge 3.3.

This commit is contained in:
Stefan Krah 2012-11-12 20:24:09 +01:00
commit abaca8cb06
2 changed files with 9 additions and 0 deletions

View File

@ -23,6 +23,14 @@ extern "C" {
#endif
/* Max pathname length */
#ifdef __hpux
#include <sys/param.h>
#include <limits.h>
#ifndef PATH_MAX
#define PATH_MAX MAXPATHLEN
#endif
#endif
#ifndef MAXPATHLEN
#if defined(PATH_MAX) && PATH_MAX > 1024
#define MAXPATHLEN PATH_MAX

View File

@ -1,4 +1,5 @@
#include "Python.h"
#include "osdefs.h"
#ifdef MS_WINDOWS
# include <windows.h>
#endif