0001-tm.h-include-in-gcc.hxx-appears-to-be-no-longer-nece.patch 739 B

123456789101112131415161718192021222324252627282930
  1. From f0bbc17aeed1b636782a4b92e8191d90f310d0a2 Mon Sep 17 00:00:00 2001
  2. From: Boris Kolpackov <boris@codesynthesis.com>
  3. Date: Mon, 1 Jun 2015 19:08:33 +0200
  4. Subject: [PATCH] <tm.h> include in gcc.hxx appears to be no longer necessary
  5. On MIPS this file pulls in enum processor which conflicts with
  6. our class processor.
  7. [Upstream: f0bbc17aeed1b636782a4b92e8191d90f310d0a2]
  8. Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
  9. ---
  10. odb/gcc.hxx | 2 --
  11. 1 file changed, 2 deletions(-)
  12. diff --git a/odb/gcc.hxx b/odb/gcc.hxx
  13. index 504b59b..c953047 100644
  14. --- a/odb/gcc.hxx
  15. +++ b/odb/gcc.hxx
  16. @@ -46,8 +46,6 @@ extern "C"
  17. #include <tree.h>
  18. #include <real.h>
  19. -#include <tm.h>
  20. -
  21. #include <cpplib.h>
  22. #include <cp/cp-tree.h>
  23. --
  24. 2.26.2