# HG changeset patch # User Akos Ladanyi # Date 2009-04-28 17:44:48 # Node ID d21b38647e53fee3c3e4efa31f4538c7732d3ba8 # Parent 586b65073025e0d8c88121bd976b69d1b618fb01 Remove superfluous HAVE_CONFIG_H (#278) diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,8 +17,6 @@ FIND_PACKAGE(CPLEX) FIND_PACKAGE(COIN) -ADD_DEFINITIONS(-DHAVE_CONFIG_H) - IF(MSVC) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996") # Suppressed warnings: @@ -28,8 +26,6 @@ # C4996: 'function': was declared deprecated ENDIF(MSVC) -ADD_DEFINITIONS(-DHAVE_CONFIG_H) - INCLUDE(CheckTypeSize) CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG) diff --git a/test/lp_test.cc b/test/lp_test.cc --- a/test/lp_test.cc +++ b/test/lp_test.cc @@ -21,9 +21,7 @@ #include "test_tools.h" #include -#ifdef HAVE_CONFIG_H #include -#endif #ifdef LEMON_HAVE_GLPK #include diff --git a/test/mip_test.cc b/test/mip_test.cc --- a/test/mip_test.cc +++ b/test/mip_test.cc @@ -18,9 +18,7 @@ #include "test_tools.h" -#ifdef HAVE_CONFIG_H #include -#endif #ifdef LEMON_HAVE_CPLEX #include