Remove EXV_HAVE_STRCHR

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

@ -63,9 +63,6 @@
// Define if you have the <stdlib.h> header file.
#cmakedefine EXV_HAVE_STDLIB_H
// Define if you have the strchr function.
#cmakedefine EXV_HAVE_STRCHR
// Define if you have the strerror function.
#cmakedefine EXV_HAVE_STRERROR

@ -23,7 +23,6 @@ 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( strchr EXV_HAVE_STRCHR )
check_function_exists( strerror EXV_HAVE_STRERROR )
check_function_exists( strerror_r EXV_HAVE_STRERROR_R )
check_function_exists( strtol EXV_HAVE_STRTOL )

@ -88,9 +88,6 @@
/* Define to 1 if you have the <stdlib.h> header file. */
/* #undef EXV_HAVE_STDLIB_H */
/* Define to 1 if you have the `strchr' function. */
#define EXV_HAVE_STRCHR 1
/* Define to 1 if you have the `strerror' function. */
#define EXV_HAVE_STRERROR 1

@ -260,7 +260,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys)
int have_stdint =0;
int have_stdlib =0;
int have_strlib =0;
int have_strchr =0;
int have_strerror =0;
int have_strerror_r =0;
int have_strings_h =0;
@ -333,10 +332,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys)
have_stdlib=1;
#endif
#ifdef EXV_HAVE_STRCHR
have_strchr=1;
#endif
#ifdef EXV_HAVE_STRERROR
have_strerror=1;
#endif
@ -516,7 +511,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys)
output(os,keys,"have_stdint" ,have_stdint );
output(os,keys,"have_stdlib" ,have_stdlib );
output(os,keys,"have_strlib" ,have_strlib );
output(os,keys,"have_strchr" ,have_strchr );
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 );

Loading…
Cancel
Save