#1046. Adding support to exiv2 --verbose --version to report have_unicode_path

v0.27.3
Robin Mills 10 years ago
parent 20c3b6328e
commit 6e4f04ff23

@ -268,6 +268,7 @@ static void output(std::ostream& os,const exv_grep_keys_t& keys,const char* name
int have_strings =0;
int have_sys_types =0;
int have_unistd =0;
int have_unicode_path=0;
#if EXV_HAVE_DECL_STRERROR_R
have_strerror_r=1;
@ -397,6 +398,10 @@ static void output(std::ostream& os,const exv_grep_keys_t& keys,const char* name
have_unistd=1;
#endif
#if EXV_UNICODE_PATH
have_unicode_path=1;
#endif
#if defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW__)
// enumerate loaded libraries and determine path to executable
HMODULE handles[200];
@ -502,6 +507,7 @@ static void output(std::ostream& os,const exv_grep_keys_t& keys,const char* name
output(os,keys,"have_strings" ,have_strings );
output(os,keys,"have_sys_types" ,have_sys_types );
output(os,keys,"have_unistd" ,have_unistd );
output(os,keys,"have_unicode_path" ,have_unicode_path);
#if defined(__linux__)
dlclose(ph);

Loading…
Cancel
Save