mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
squash compiler warning on Mac OSX 10.3
This commit is contained in:
parent
c5bf5a00a3
commit
2b47445234
@ -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…
Reference in New Issue
Block a user