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
50cc04ee
Commit
50cc04ee
authored
Apr 28, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mac CodeWarrior has faulty declaration for hypot, which we hide with a
#define. (Jack)
parent
53117ae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
Include/mymath.h
Include/mymath.h
+13
-5
No files found.
Include/mymath.h
View file @
50cc04ee
...
...
@@ -9,16 +9,24 @@
#pragma lib_export off
#endif
#include <math.h>
#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#ifndef HAVE_HYPOT
extern
double
hypot
Py_PROTO
((
double
,
double
));
#ifdef __MWERKS__
#define hypot we_dont_want_faulty_hypot_decl
#endif
#endif
#include <math.h>
#ifndef HAVE_HYPOT
extern
double
hypot
Py_PROTO
((
double
,
double
));
#ifdef __MWERKS__
#undef hypot
#endif
#endif
#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#endif
#if defined(USE_MSL) && defined(__MC68K__)
/* CodeWarrior MSL 2.1.1 has weird define overrides that don't work
...
...
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