From 08c190937df7e802393b588d3cc82d2bdf00b128 Mon Sep 17 00:00:00 2001 From: Alexey Sheplyakov Date: Wed, 18 Dec 2019 16:39:12 +0400 Subject: [PATCH] numeric.cpp, archive.cpp: don't include config.h config.h is necessary for excompiler only, the rest of the library is pretty portable. Not including dynamically generated headers saves compilation time due to more (c)cache hits. --- ginac/archive.cpp | 3 --- ginac/numeric.cpp | 4 ---- 2 files changed, 7 deletions(-) diff --git a/ginac/archive.cpp b/ginac/archive.cpp index 2ae5162c..6fc69007 100644 --- a/ginac/archive.cpp +++ b/ginac/archive.cpp @@ -24,9 +24,6 @@ #include "registrar.h" #include "ex.h" #include "lst.h" -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif #include "version.h" #include diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp index ff5d510c..6e28b270 100644 --- a/ginac/numeric.cpp +++ b/ginac/numeric.cpp @@ -24,10 +24,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "numeric.h" #include "ex.h" #include "operators.h" -- 2.50.0