squash compiler warning on Mac OSX 10.3

This commit is contained in:
Skip Montanaro 2006-01-05 10:49:13 +00:00
parent c5bf5a00a3
commit 2b47445234

View File

@ -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