all repos — mgba @ 04713d9de1311b24aafd96fea9eee3a62345ef4d

mGBA Game Boy Advance Emulator

Util: Remove elf_repl.h check
Vicki Pfau vi@endrift.com
Sun, 13 Aug 2017 13:25:12 -0700
commit

04713d9de1311b24aafd96fea9eee3a62345ef4d

parent

828be44ac23704a09e6caa1783f495f1c49ecb2c

2 files changed, 0 insertions(+), 10 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -607,10 +607,6 @@

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()
M include/mgba-util/elf-read.hinclude/mgba-util/elf-read.h

@@ -14,12 +14,6 @@ #ifdef USE_ELF

#include <libelf.h> -#if USE_ELF_REPL -#include <elf_repl.h> -#else -#include <elf.h> -#endif - #include <mgba-util/vector.h> struct ELF;