getlogin_r-tests: allow errno == ENXIO or ENOENT
[gnulib.git] / tests / test-rint.c
index 869a0a1..ce0b534 100644 (file)
@@ -32,6 +32,9 @@ SIGNATURE_CHECK (rint, double, (double));
 #include "nan.h"
 #include "macros.h"
 
+#undef INFINITY
+#undef NAN
+
 #define DOUBLE double
 #define ISNAN isnand
 #define INFINITY Infinityd ()