From 04713d9de1311b24aafd96fea9eee3a62345ef4d Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 13 Aug 2017 13:25:12 -0700 Subject: [PATCH] Util: Remove elf_repl.h check --- CMakeLists.txt | 4 ---- include/mgba-util/elf-read.h | 6 ------ 2 files changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a6a7503d..4e8a8c7c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -607,10 +607,6 @@ endif() if(USE_ELF) list(APPEND FEATURES ELF) include_directories(AFTER ${LIBELF_INCLUDE_DIRS}) - find_file(ELF_REPL_H elf_repl.h PATHS ${LIBELF_INCLUDE_DIRS} NO_CMAKE_FIND_ROOT_PATH) - if (ELF_REPL_H) - add_definitions(-DUSE_ELF_REPL) - endif() list(APPEND DEPENDENCY_LIB ${LIBELF_LIBRARIES}) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libelfg0") endif() diff --git a/include/mgba-util/elf-read.h b/include/mgba-util/elf-read.h index e3886ac64..86683ea82 100644 --- a/include/mgba-util/elf-read.h +++ b/include/mgba-util/elf-read.h @@ -14,12 +14,6 @@ CXX_GUARD_START #include -#if USE_ELF_REPL -#include -#else -#include -#endif - #include struct ELF;