#ifndef __CONFIG__H__ #define __CONFIG__H__ #ifdef _MSC_VER # include "exv_msvc.h" #else /* Define to 1 if you want to use libssh */ #undef USE_SSH /* Define to 1 if you want to use libcurl in httpIo */ #undef USE_CURL /* Define to 1 if you have the `alarm' function. */ #undef HAVE_ALARM /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR_R /* Define to 1 if you have the `gmtime_r' function. */ #undef HAVE_GMTIME_R /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_LIBINTL_H #ifndef EXV_COMMERCIAL_VERSION /* Define to 1 to enable translation of Nikon lens names. */ #undef HAVE_LENSDATA /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS #endif /* !EXV_COMMERCIAL_VERSION */ /* Define to 1 to include video code in the library */ #undef ENABLE_VIDEO /* Define to 1 to include webready code in the library */ #undef ENABLE_WEBREADY /* Define to 1 if you have the `iconv' function. */ #undef HAVE_ICONV /* Define to `const' or to empty, depending on the second argument of `iconv'. */ #undef ICONV_CONST /* Define to 1 if you have the header file. */ #undef HAVE_LIBINTL_H /* Define to 1 if you have the header file. */ #define HAVE_REGEX 1 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC /* Define to 1 if you have the header file. */ #undef HAVE_MALLOC_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the `lstat' function. */ #undef HAVE_LSTAT /* Define to 1 if your system has a GNU libc compatible `realloc' function, and to 0 otherwise. */ #undef HAVE_REALLOC /* Define to 1 if stdbool.h conforms to C99. */ #undef HAVE_STDBOOL_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strchr' function. */ #undef HAVE_STRCHR /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR /* Define to 1 if you have the `strerror_r' function. */ #undef HAVE_STRERROR_R /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strtol' function. */ #undef HAVE_STRTOL /* Define to 1 if you have the `mmap' function. */ #undef HAVE_MMAP /* Define to 1 if you have the `munmap' function. */ #undef HAVE_MUNMAP /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the `timegm' function. */ #undef HAVE_TIMEGM /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `vprintf' function. */ #undef HAVE_VPRINTF /* 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 /* Define to 1 if you have the `zlib' library. */ #undef HAVE_LIBZ /* Define to 1 if you have the Adobe XMP Toolkit. */ #undef HAVE_XMP_TOOLKIT /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK /* Define if C++ visibility support is enabled */ #undef WANT_VISIBILITY_SUPPORT /* Define if we have / are building a shared library (DLL) */ #undef HAVE_DLL /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the name of this package. */ #undef PACKAGE /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if strerror_r returns char *. */ #undef STRERROR_R_CHAR_P /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Define to 1 if your declares `struct tm'. */ #undef TM_IN_SYS_TIME /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc /* Define to `int' if does not define. */ #undef pid_t /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc /* Define to `unsigned' if does not define. */ #undef size_t #if defined __CYGWIN32__ && !defined __CYGWIN__ /* For backwards compatibility with Cygwin b19 and earlier, we define __CYGWIN__ here, so that we can rely on checking just for that macro. */ #define __CYGWIN__ __CYGWIN32__ #endif #if defined __MINGW32__ || defined __MINGW64__ #ifndef __MINGW__ #define __MINGW__ 1 #endif #endif /* File path separator */ #if defined WIN32 && !defined __CYGWIN__ #define SEPARATOR_STR "\\" #define SEPARATOR_CHR '\\' #else #define SEPARATOR_STR "/" #define SEPARATOR_CHR '/' #endif /* Symbol visibility support */ #ifdef WIN32 # define EXV_IMPORT __declspec(dllimport) # define EXV_EXPORT __declspec(dllexport) # define EXV_DLLLOCAL # define EXV_DLLPUBLIC #else # ifdef EXV_WANT_VISIBILITY_SUPPORT # if defined(__GNUC__) && (__GNUC__ >= 4) # define EXV_IMPORT __attribute__ ((visibility("default"))) # define EXV_EXPORT __attribute__ ((visibility("default"))) # define EXV_DLLLOCAL __attribute__ ((visibility("hidden"))) # define EXV_DLLPUBLIC __attribute__ ((visibility("default"))) # elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) # define EXV_IMPORT __global # define EXV_EXPORT __global # define EXV_DLLLOCAL __hidden # define EXV_DLLPUBLIC __global # else # define EXV_IMPORT # define EXV_EXPORT # define EXV_DLLLOCAL # define EXV_DLLPUBLIC # endif # else /* ! EXV_WANT_VISIBILITY_SUPPORT */ # define EXV_IMPORT # define EXV_EXPORT # define EXV_DLLLOCAL # define EXV_DLLPUBLIC # endif /* ! EXV_WANT_VISIBILITY_SUPPORT */ #endif /* ! WIN32 */ /* Define EXIV2API for DLL builds */ #ifdef EXV_HAVE_DLL # ifdef EXV_BUILDING_LIB # define EXIV2API EXV_EXPORT # else # define EXIV2API EXV_IMPORT # endif /* ! EXV_BUILDING_LIB */ #else # define EXIV2API #endif /* ! EXV_HAVE_DLL */ /* If you're using Solaris and the Solaris Studio compiler, then you really do need to use -library=stdcxx4 along with these inclusions below */ #if defined(OS_SOLARIS) #include #include #include #include #include #if defined(__cplusplus) #include #include #endif #endif #endif #endif