diff options
Diffstat (limited to 'unproto')
-rw-r--r-- | unproto/Makefile | 2 | ||||
-rw-r--r-- | unproto/unproto.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/unproto/Makefile b/unproto/Makefile index a9a8c04..5381719 100644 --- a/unproto/Makefile +++ b/unproto/Makefile @@ -38,7 +38,7 @@ SKIP = # 7. Specify a string constant with exactly three octal digits. If you # change this definition, you will have to update the example.out file. # -BELL = -DBELL=\"007\" +# BELL = -DBELL=\"007\" # Some C compilers have problems with "void". The nature of the problems # depends on the age of the compiler. 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]); |