Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01c6526

Browse files
committed
Avoid giving prototypes on Solaris.
1 parent f58de1b commit 01c6526

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/floatobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern double fmod(double, double);
2828
extern double pow(double, double);
2929
#endif
3030

31-
#ifdef sun
31+
#if defined(sun) && !defined(__SVR4)
3232
/* On SunOS4.1 only libm.a exists. Make sure that references to all
3333
needed math functions exist in the executable, so that dynamic
3434
loading of mathmodule does not fail. */

0 commit comments

Comments
 (0)