aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1997-08-01 14:18:54 -0700
committerPer Bothner <bothner@gcc.gnu.org>1997-08-01 14:18:54 -0700
commit40365c9252501b4dddd256401ede3a20d95ec79a (patch)
tree26f6304c6ba54befa384282a2e93359d8369bf52 /gcc/c-lang.c
parent736c628948ebc328797127c1c7f757b3140b3545 (diff)
downloadgcc-40365c9252501b4dddd256401ede3a20d95ec79a.zip
gcc-40365c9252501b4dddd256401ede3a20d95ec79a.tar.gz
gcc-40365c9252501b4dddd256401ede3a20d95ec79a.tar.bz2
* c-lang.c (lang_init): Restore, but add #if !USE_CPPLIB.
From-SVN: r14603
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 2e59e3a..cc1d298 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -37,10 +37,12 @@ lang_decode_option (p)
void
lang_init ()
{
+#if !USE_CPPLIB
/* the beginning of the file is a new line; check for # */
/* With luck, we discover the real source file's name from that
and put it in input_filename. */
ungetc (check_newline (), finput);
+#endif
}
void