#ifndef __CONFIG_H__
#define __CONFIG_H__

/* config file for Lensfun library
   generated by CMake
*/

#define CONF_PACKAGE "lensfun"
#define CONF_VERSION "0.3.2.0"

/* #undef PLATFORM_WINDOWS */

#define CMAKE_COMPILER_IS_GNUCC 
#ifdef CMAKE_COMPILER_IS_GNUCC 
#define CONF_COMPILER_GCC 1 
#endif

#ifndef PLATFORM_WINDOWS
//fix path to data works only on *nix systems
//on windows that data dir is relocatable
#define CONF_DATADIR "/usr/pkg/share/lensfun"
#else
#define CONF_DATADIR ""
#endif

#define DATABASE_SUBDIR "version_1"

// add a macro to know we're compiling Lensfun, not a client library
#define CONF_LENSFUN_INTERNAL

#define VECTORIZATION_SSE
#define VECTORIZATION_SSE2

#define HAVE_ENDIAN_H

#ifdef _MSC_VER
#define _USE_MATH_DEFINES
#endif

#define GLIB_VERSION_MIN_REQUIRED      (GLIB_VERSION_2_40)

// to avoid usage of API that is not in GLIB_VERSION_MIN_REQUIRED version
// and make it easy to detect when to bump requirements:
#define GLIB_VERSION_MAX_ALLOWED      (GLIB_VERSION_MIN_REQUIRED)

#endif // __CONFIG_H__
