numeric.cpp, archive.cpp: don't include config.h
authorAlexey Sheplyakov <asheplyakov@altlinux.org>
Wed, 18 Dec 2019 12:39:12 +0000 (16:39 +0400)
committerAlexey Sheplyakov <asheplyakov@altlinux.org>
Fri, 28 Aug 2020 15:15:31 +0000 (19:15 +0400)
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
ginac/numeric.cpp

index 2ae5162c60f533015322f65745fc1fd638463de0..6fc690071c8b16ad2e5761cc3672ebdccf6b7eed 100644 (file)
@@ -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 <iostream>
index ff5d510ca39023a8aa8262ee1cc021bf6bd916ec..6e28b270d1c2c547bfc630e29eacaeab053e45e7 100644 (file)
  *  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"