diff --git a/config/config.h.cmake b/config/config.h.cmake index 933bae7f..6cce989e 100644 --- a/config/config.h.cmake +++ b/config/config.h.cmake @@ -69,9 +69,6 @@ // Define if you have the header file. #cmakedefine EXV_HAVE_STRINGS_H -// Define if you have the strtol function. -#cmakedefine EXV_HAVE_STRTOL - // Define if you have the mmap function. #cmakedefine EXV_HAVE_MMAP diff --git a/config/generateConfigFile.cmake b/config/generateConfigFile.cmake index 9c1bda8a..69a30493 100644 --- a/config/generateConfigFile.cmake +++ b/config/generateConfigFile.cmake @@ -24,7 +24,6 @@ check_function_exists( mmap EXV_HAVE_MMAP ) check_function_exists( munmap EXV_HAVE_MUNMAP ) check_function_exists( strerror EXV_HAVE_STRERROR ) check_function_exists( strerror_r EXV_HAVE_STRERROR_R ) -check_function_exists( strtol EXV_HAVE_STRTOL ) check_function_exists( timegm EXV_HAVE_TIMEGM ) # TODO : Do something about EXV_STRERROR_R_CHAR_P diff --git a/include/exiv2/exv_msvc.h b/include/exiv2/exv_msvc.h index dff30e78..48c4f759 100644 --- a/include/exiv2/exv_msvc.h +++ b/include/exiv2/exv_msvc.h @@ -94,9 +94,6 @@ /* Define to 1 if you have the header file. */ /* #undef EXV_HAVE_STRING_H */ -/* Define to 1 if you have the `strtol' function. */ -#define EXV_HAVE_STRTOL 1 - /* Define to 1 if you have the `mmap' function. */ /* #undef EXV_HAVE_MMAP */ diff --git a/src/version.cpp b/src/version.cpp index 8355e671..d5ca1b11 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -262,7 +262,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) int have_strerror =0; int have_strerror_r =0; int have_strings_h =0; - int have_strtol =0; int have_mmap =0; int have_munmap =0; int have_sys_stat =0; @@ -339,10 +338,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) have_strings=1; #endif -#ifdef EXV_HAVE_STRTOL - have_strtol=1; -#endif - #ifdef EXV_HAVE_MMAP have_mmap=1; #endif @@ -508,7 +503,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) output(os,keys,"have_strerror" ,have_strerror ); output(os,keys,"have_strerror_r" ,have_strerror_r ); output(os,keys,"have_strings_h" ,have_strings_h ); - output(os,keys,"have_strtol" ,have_strtol ); output(os,keys,"have_mmap" ,have_mmap ); output(os,keys,"have_munmap" ,have_munmap ); output(os,keys,"have_sys_stat" ,have_sys_stat );