mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
squash compiler warning on Mac OSX 10.3
This commit is contained in:
parent
c5bf5a00a3
commit
2b47445234
1 changed files with 4 additions and 0 deletions
|
@ -381,7 +381,11 @@ calculate_path(void)
|
|||
NSModule pythonModule;
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
|
||||
uint32_t nsexeclength = MAXPATHLEN;
|
||||
#else
|
||||
unsigned long nsexeclength = MAXPATHLEN;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* If there is no slash in the argv0 path, then we have to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue