12 lines
363 B
Diff
12 lines
363 B
Diff
|
--- Lib/typemaps/fragments.swg.orig 2016-02-02 14:42:14.223467628 +0000
|
||
|
+++ Lib/typemaps/fragments.swg 2016-02-02 14:43:41.840491612 +0000
|
||
|
@@ -175,6 +175,8 @@
|
||
|
# elif defined(__sun) && defined(__SVR4)
|
||
|
# include <ieeefp.h>
|
||
|
# define SWIG_isfinite(X) (finite(X))
|
||
|
+# elif defined(__GNUC__)
|
||
|
+# define SWIG_isfinite(X) (__builtin_isfinite(X))
|
||
|
# endif
|
||
|
#endif
|
||
|
%}
|