source: ThirdParty/ASL/trunk/mingw.patch @ 3572

Last change on this file since 3572 was 3572, checked in by tkr, 4 years ago

Fixing patch---wrong format

File size: 536 bytes
  • solvers/fpinitmt.c

    old new  
    217217#endif
    218218#endif
    219219
    220 #ifndef NO_matherr
    221 #ifdef __MINGW32__
    222 #define matherr _matherr
    223 #endif
    224 
    225  matherr_rettype
    226 matherr( struct _exception *e )
    227 {
    228         switch(e->type) {
    229           case _DOMAIN:
    230           case _SING:
    231                 errno = set_errno(EDOM);
    232                 break;
    233           case _TLOSS:
    234           case _OVERFLOW:
    235                 errno = set_errno(ERANGE);
    236           }
    237         return 0;
    238         }
    239 #endif /*NO_matherr*/
    240 
    241220#ifdef Need_set_errno
    242221
    243222 static int
Note: See TracBrowser for help on using the repository browser.