| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -140,6 +140,12 @@ static void fpe_reset(Sigfunc *handler) | |||
| 140 | 140 | ld -G -o fpectlmodule.so -L/opt/SUNWspro/lib fpectlmodule.o -lsunmath -lm | |
| 141 | 141 | */ | |
| 142 | 142 | #include <math.h> | |
| 143 | + #ifndef _SUNMATH_H | ||
| 144 | + extern void nonstandard_arithmetic(void); | ||
| 145 | + extern int ieee_flags(const char*, const char*, const char*, char **); | ||
| 146 | + extern long ieee_handler(const char*, const char*, sigfpe_handler_type); | ||
| 147 | + #endif | ||
| 148 | + | ||
| 143 | 149 | char *mode="exception", *in="all", *out; | |
| 144 | 150 | (void) nonstandard_arithmetic(); | |
| 145 | 151 | (void) ieee_flags("clearall",mode,in,&out); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments