#112 using gnulib instead of some compatibility hacks

open
nobody
None
5
2011-08-29
2011-08-29
Sylwester Arabas
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