exiv2/contrib/vs2019/solution/exv_conf.h
Luis Díaz Más f30022d73d
Fix issues detected with PVS-Studio + other little improvements (#1689)
* avoid re-declaration of constant variables

* Replace pthreads critical section with std::mutex

* ci - better naming

* cmake - increase minimum version to 3.11. Use project DESCRIPTION

* fix - do not treat string::find() return type as bool

* remove conditions that were always true

* remove condition that were always false

* Remove EXV_HAVE_GMTIME_R which is not used anymore

* pixelWidth_ was inherited from Exiv2::Image

The width & height variables in the TiffImage class need to be mutable
to be able to change their values on the getters pixelHeight() and
pixelWidth() ... Do not ask me why ...

* Remove superfluous if

* pvs:V766 item with identical key added already

* pvs:V730 not all members were initialized (time)

* pvs:V730 not all members are initialized

* pvs:v668 no point in testing pointer against null after new

* pvs:V1048 variable assigned the same value

* replace c-style dynamic vector with std one

* pvs:547 fakeData is always true

* Remove useless constructor in derived class

* pvs:V690 modern way to disable copy-ctor

* Replace malloc/free with new/delete. No need to check for null

* pvs:V1028 cast operands and not result

* Remove custom MIN/MAX functions

* pvs:V595 pointer used before verified against null

* pvs: index used before being checked

* pvs:V1028 possible overflow. Cast operands

* pvs:v575 potential null pointer passed to other functions

* pvs:V547 deal with always true/false expressions

* pvs:V560 part of conditional expressions always false or true

* pvs:V701 possible break in realloc -> move to std::vector

* Make some classes 'final'

* Replace sprintf with std::to_string()

* fix compilation on windows
2021-06-01 12:39:10 +02:00

104 lines
2.7 KiB
C

// File generated by cmake from cmake/config.h.cmake.
#ifndef _EXV_CONF_H_
#define _EXV_CONF_H_
// Define to 1 if you want to use libcurl in httpIO.
#define EXV_USE_CURL
// Define if you require webready support.
#define EXV_ENABLE_WEBREADY
// Define if you require PNG support.
#define EXIV2_ENABLE_PNG
// Define if you have the <libintl.h> header file.
/* #undef EXV_HAVE_LIBINTL_H */
// Define if you want translation of program messages to the user's native language
#define EXV_ENABLE_NLS
// Define if you have the strerror_r function.
/* #undef EXV_HAVE_STRERROR_R */
// Define if the strerror_r function returns char*.
/* #undef EXV_STRERROR_R_CHAR_P */
// Define to enable the Windows unicode path support.
#define EXV_UNICODE_PATH
/* Define to `const' or to empty, depending on the second argument of `iconv'. */
/* #define ICONV_ACCEPTS_CONST_INPUT */
#if defined(ICONV_ACCEPTS_CONST_INPUT) || defined(__NetBSD__)
#define EXV_ICONV_CONST const
#else
#define EXV_ICONV_CONST
#endif
// Define if you have the <regex.h> header file.
/* #undef EXV_HAVE_REGEX_H */
// Define if have the <memory.h> header file.
#define EXV_HAVE_MEMORY_H
// Define if stdbool.h conforms to C99.
#define EXV_HAVE_STDBOOL_H
// Define if you have the <stdint.h> header file.
#define EXV_HAVE_STDINT_H
// Define if you have the <strings.h> header file.
/* #undef EXV_HAVE_STRINGS_H */
// Define if you have the mmap function.
/* #undef EXV_HAVE_MMAP */
// Define if you have the munmap function.
/* #undef EXV_HAVE_MUNMAP */
// Define if you have <sys/stat.h> header file.
#define EXV_HAVE_SYS_STAT_H
// Define if you have the <sys/types.h> header file.
#define EXV_HAVE_SYS_TYPES_H
/* Define if you have the <unistd.h> header file. */
/* #undef EXV_HAVE_UNISTD_H */
// Define if you have the <sys/mman.h> header file.
/* #undef EXV_HAVE_SYS_MMAN_H */
// Define if you have are using the zlib library.
#define EXV_HAVE_LIBZ
// Define if you have the <process.h> header file.
#define EXV_HAVE_PROCESS_H
/* Define if you have (Exiv2/xmpsdk) Adobe XMP Toolkit. */
#define EXV_HAVE_XMP_TOOLKIT
/* Define to the full name of this package. */
#define EXV_PACKAGE_NAME "exiv2"
/* Define to the full name and version of this package. */
#define EXV_PACKAGE_STRING "exiv2 0.27.2"
/* Define to the version of this package. */
#define EXV_PACKAGE_VERSION "0.27.2"
#define EXIV2_MAJOR_VERSION (0)
#define EXIV2_MINOR_VERSION (27)
#define EXIV2_PATCH_VERSION (2)
#define EXIV2_TWEAK_VERSION ()
// Definition to enable translation of Nikon lens names.
#define EXV_HAVE_LENSDATA
// Define if you have the iconv function.
#define EXV_HAVE_ICONV
// Definition to enable conversion of UCS2 encoded Windows tags to UTF-8.
#define EXV_HAVE_PRINTUCS2
#endif /* !_EXV_CONF_H_ */