Commit 2b474452 authored by Skip Montanaro's avatar Skip Montanaro

squash compiler warning on Mac OSX 10.3

parent c5bf5a00
...@@ -381,7 +381,11 @@ calculate_path(void) ...@@ -381,7 +381,11 @@ calculate_path(void)
NSModule pythonModule; NSModule pythonModule;
#endif #endif
#ifdef __APPLE__ #ifdef __APPLE__
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
uint32_t nsexeclength = MAXPATHLEN; uint32_t nsexeclength = MAXPATHLEN;
#else
unsigned long nsexeclength = MAXPATHLEN;
#endif
#endif #endif
/* If there is no slash in the argv0 path, then we have to /* If there is no slash in the argv0 path, then we have to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment