diff --git a/config/config.h.cmake b/config/config.h.cmake index 3406d2c2..d90b1df5 100644 --- a/config/config.h.cmake +++ b/config/config.h.cmake @@ -45,9 +45,6 @@ // Define if have the header file. #cmakedefine EXV_HAVE_MEMORY_H -// Define if you have the memset function. -#cmakedefine EXV_HAVE_MEMSET - // Define if stdbool.h conforms to C99. #cmakedefine EXV_HAVE_STDBOOL_H diff --git a/config/generateConfigFile.cmake b/config/generateConfigFile.cmake index 5ffb8f88..575a8100 100644 --- a/config/generateConfigFile.cmake +++ b/config/generateConfigFile.cmake @@ -20,7 +20,6 @@ set(EXV_UNICODE_PATH ${EXIV2_ENABLE_WIN_UNICODE}) # TODO: Try to use the cmake function check_symbol_exists which is more robust check_function_exists( gmtime_r EXV_HAVE_GMTIME_R ) -check_function_exists( memset EXV_HAVE_MEMSET ) check_function_exists( mmap EXV_HAVE_MMAP ) check_function_exists( munmap EXV_HAVE_MUNMAP ) check_function_exists( strerror EXV_HAVE_STRERROR ) diff --git a/include/exiv2/exv_msvc.h b/include/exiv2/exv_msvc.h index 8bd711cd..0536f31e 100644 --- a/include/exiv2/exv_msvc.h +++ b/include/exiv2/exv_msvc.h @@ -72,9 +72,6 @@ /* Define to 1 if you have the header file. */ /* #undef EXV_HAVE_MEMORY_H */ -/* Define to 1 if you have the `memset' function. */ -#define EXV_HAVE_MEMSET 1 - /* Define to 1 if your system has a GNU libc compatible `realloc' function, and to 0 otherwise. */ #define EXV_HAVE_REALLOC 1 diff --git a/src/version.cpp b/src/version.cpp index bb8144ce..8355e671 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -254,7 +254,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) int have_lensdata =0; int have_iconv =0; int have_memory =0; - int have_memset =0; int have_lstat =0; int have_stdbool =0; int have_stdint =0; @@ -312,10 +311,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) have_memory=1; #endif -#ifdef EXV_HAVE_MEMSET - have_memset=1; -#endif - #ifdef EXV_HAVE_LSTAT have_lstat=1; #endif @@ -505,7 +500,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) output(os,keys,"have_lensdata" ,have_lensdata ); output(os,keys,"have_iconv" ,have_iconv ); output(os,keys,"have_memory" ,have_memory ); - output(os,keys,"have_memset" ,have_memset ); output(os,keys,"have_lstat" ,have_lstat ); output(os,keys,"have_stdbool" ,have_stdbool ); output(os,keys,"have_stdint" ,have_stdint );