Remove EXV_HAVE_MEMSET

v0.27.3
Luis Díaz Más 7 years ago
parent abd28a6a9e
commit aded1965c5

@ -45,9 +45,6 @@
// Define if have the <memory.h> 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

@ -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 )

@ -72,9 +72,6 @@
/* Define to 1 if you have the <memory.h> 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

@ -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 );

Loading…
Cancel
Save