summaryrefslogtreecommitdiff
path: root/unproto/unproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'unproto/unproto.c')
-rw-r--r--unproto/unproto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unproto/unproto.c b/unproto/unproto.c
index 945e066..9dcdf1a 100644
--- a/unproto/unproto.c
+++ b/unproto/unproto.c
@@ -220,6 +220,9 @@ char **argv;
cpp_pid = pipe_stdin_through_cpp(argv);
#endif
#ifdef REOPEN
+#ifdef PIPE_THROUGH_CPP
+#error Defines REOPEN and PIPE_THROUGH_CPP are incompatible.
+#endif
if ( argc > 1 ) {
if( freopen(argv[1], "r", stdin) == 0 ) {
fprintf(stderr, "Cannot open '%s'\n", argv[1]);