re PR preprocessor/12847 (xxx.c:1:20: xxxx.h: No such file or directory)
[gcc.git] / gcc / c-incpath.c
index e28114652a3e09e0f0b6a6c44b89e02d03e8f41e..7b08c1a12a3ccb7231eadf278a629377e704fc38 100644 (file)
@@ -187,12 +187,12 @@ remove_duplicates (cpp_reader *pfile, struct cpp_dir *head,
        {
          /* Dirs that don't exist are silently ignored, unless verbose.  */
          if (errno != ENOENT)
-           cpp_errno (pfile, DL_ERROR, cur->name);
+           cpp_errno (pfile, CPP_DL_ERROR, cur->name);
          else
            reason = REASON_NOENT;
        }
       else if (!S_ISDIR (st.st_mode))
-       cpp_error_with_line (pfile, DL_ERROR, 0, 0,
+       cpp_error_with_line (pfile, CPP_DL_ERROR, 0, 0,
                             "%s: not a directory", cur->name);
       else
        {