From 367d3b8a1e33c676b43034ea5bd2eb0e81d70d24 Mon Sep 17 00:00:00 2001 From: Luis Diaz Mas Date: Mon, 7 Aug 2017 18:58:44 +0200 Subject: [PATCH] Remove unused HAVE_WCHAR_H variable --- config/CMakeChecks.txt | 4 +--- config/config.h.cmake | 3 --- config/config.h.in | 3 --- include/exiv2/exv_msvc.h | 3 --- 4 files changed, 1 insertion(+), 12 deletions(-) diff --git a/config/CMakeChecks.txt b/config/CMakeChecks.txt index 22524af7..e8323746 100644 --- a/config/CMakeChecks.txt +++ b/config/CMakeChecks.txt @@ -70,7 +70,6 @@ ENDIF( EXIV2_ENABLE_COMMERCIAL ) # checking for Header files check_include_file( "inttypes.h" have_inttypes_h ) -check_include_file( "wchar.h" HAVE_WCHAR_H ) check_include_file( "regex.h" HAVE_REGEX ) # time.h and sys/time.h can be included in the same file @@ -85,8 +84,7 @@ IF( NOT MSVC ) SET( HAVE_PID_T TRUE ) ENDIF( NOT MSVC ) -SET( EXV_SYMBOLS HAVE_WCHAR_H - HAVE_XMP_TOOLKIT +SET( EXV_SYMBOLS HAVE_XMP_TOOLKIT HAVE_REGEX UNICODE_PATH ) diff --git a/config/config.h.cmake b/config/config.h.cmake index 1f71f327..44740ebe 100644 --- a/config/config.h.cmake +++ b/config/config.h.cmake @@ -110,9 +110,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine EXV_HAVE_UNISTD_H 1 -/* Define to 1 if you have the header file. */ -#cmakedefine EXV_HAVE_WCHAR_H 1 - // Definition to indicate if you have the header file. #cmakedefine EXV_HAVE_SYS_MMAN_H diff --git a/config/config.h.in b/config/config.h.in index c25cc12c..d6e1c4cd 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -101,9 +101,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H -/* Define to 1 if you have the header file. */ -#undef HAVE_WCHAR_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_MMAN_H diff --git a/include/exiv2/exv_msvc.h b/include/exiv2/exv_msvc.h index 89728b71..46f49a71 100644 --- a/include/exiv2/exv_msvc.h +++ b/include/exiv2/exv_msvc.h @@ -110,9 +110,6 @@ /* Define to 1 if you have the header file. */ /* #undef EXV_HAVE_UNISTD_H */ -/* Define to 1 if you have the header file. */ -/* #undef EXV_HAVE_WCHAR_H */ - /* Define to 1 if you have the header file. */ /* #undef EXV_HAVE_SYS_MMAN_H */