Menu

#112 using gnulib instead of some compatibility hacks

closed
nobody
None
5
2018-04-07
2011-08-29
No

If I understand the aim of gnulib well, it should provide a more elegant alternative for such hacks as:

datatypes.hpp:
// isfinite & isinf for Solaris
#if defined(__sun__)
# include <ieeefp.h>
# define isfinite finite
# ifndef isinf
# define isinf(x) (!finite(x) && x==x)
# endif
#endif

Discussion

  • Sylwester Arabas

    • status: open --> closed
    • Group: --> Next Release (example)
     

Log in to post a comment.