summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--tests/tio_str.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6548eb6..9fd19a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,7 +128,7 @@ AC_TYPE_SIZE_T
# Checks for libraries.
AC_CHECK_FUNCS([gettimeofday localeconv setlocale])
AC_CHECK_FUNCS([dup dup2],,
- [AC_DEFINE([NO_STREAM_REDIRECTION],1,[Do not check mpc_out_str on stdout])])
+ [AC_DEFINE([MPC_NO_STREAM_REDIRECTION],1,[Do not check mpc_out_str on stdout])])
AC_CHECK_LIB([gmp], [__gmpz_init],
[LIBS="-lgmp $LIBS"],
diff --git a/tests/tio_str.c b/tests/tio_str.c
index 9b46d0f..c9b519f 100644
--- a/tests/tio_str.c
+++ b/tests/tio_str.c
@@ -157,7 +157,7 @@ check_io_str (mpc_ptr read_number, mpc_ptr expected)
}
}
-#ifndef NO_STREAM_REDIRECTION
+#ifndef MPC_NO_STREAM_REDIRECTION
/* test out_str with stream=NULL */
static void
check_stdout (mpc_ptr read_number, mpc_ptr expected)
@@ -207,7 +207,7 @@ check_stdout (mpc_ptr read_number, mpc_ptr expected)
close(fd);
clearerr(stdin);
}
-#endif /* NO_STREAM_REDIRECTION */
+#endif /* MPC_NO_STREAM_REDIRECTION */
int
main (void)