diff options
author | Skip Montanaro <skip@pobox.com> | 2006-01-05 10:49:13 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2006-01-05 10:49:13 (GMT) |
commit | 2b47445234bd44b1382cc434c408a390eb4aa07e (patch) | |
tree | 0b61870b29d06d334a226f99b39ad50d229884bf /Modules/getpath.c | |
parent | c5bf5a00a35dae7d31d1b6eeada0567d7973c5c7 (diff) | |
download | cpython-2b47445234bd44b1382cc434c408a390eb4aa07e.zip cpython-2b47445234bd44b1382cc434c408a390eb4aa07e.tar.gz cpython-2b47445234bd44b1382cc434c408a390eb4aa07e.tar.bz2 |
squash compiler warning on Mac OSX 10.3
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r-- | Modules/getpath.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c index 1ab94c6..3264e24 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -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 |