Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2b474452
Commit
2b474452
authored
Jan 05, 2006
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
squash compiler warning on Mac OSX 10.3
parent
c5bf5a00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Modules/getpath.c
Modules/getpath.c
+4
-0
No files found.
Modules/getpath.c
View file @
2b474452
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment