2012-11-10 06:39:18 +00:00
|
|
|
// Do not modify this file, it was automatically generated by CMake.
|
2008-05-05 18:23:24 +00:00
|
|
|
|
2011-12-15 02:24:52 +00:00
|
|
|
#ifndef CONFIG_H_
|
|
|
|
#define CONFIG_H_
|
2008-05-05 18:23:24 +00:00
|
|
|
|
2009-05-21 17:42:42 +00:00
|
|
|
#cmakedefine HAVE_STRCASECMP
|
2008-05-05 18:23:24 +00:00
|
|
|
|
2009-05-21 17:42:42 +00:00
|
|
|
#cmakedefine HAVE_STRNCASECMP
|
|
|
|
|
|
|
|
#cmakedefine HAVE_ISO_STRICMP
|
|
|
|
|
|
|
|
#cmakedefine HAVE_ISO_STRNICMP
|
|
|
|
|
|
|
|
#cmakedefine HAVE_ISO_SNPRINTF
|
|
|
|
|
|
|
|
#if defined( HAVE_ISO_SNPRINTF )
|
|
|
|
#define snprintf _snprintf
|
|
|
|
#endif
|
|
|
|
|
2013-02-11 00:41:49 +00:00
|
|
|
|
|
|
|
// Handle platform differences in math.h
|
|
|
|
#cmakedefine HAVE_MATH_H
|
|
|
|
|
2009-05-21 17:42:42 +00:00
|
|
|
#cmakedefine HAVE_ISO_HYPOT
|
|
|
|
|
|
|
|
#if defined( HAVE_ISO_HYPOT )
|
|
|
|
#define hypot _hypot
|
|
|
|
#endif
|
|
|
|
|
2013-02-11 00:41:49 +00:00
|
|
|
|
|
|
|
// Handle platform differences in C++ cmath.
|
|
|
|
#cmakedefine HAVE_CXX_CMATH
|
|
|
|
|
|
|
|
#cmakedefine HAVE_CMATH_ASINH
|
|
|
|
|
|
|
|
#cmakedefine HAVE_CMATH_ACOSH
|
|
|
|
|
|
|
|
#cmakedefine HAVE_CMATH_ATANH
|
|
|
|
|
|
|
|
#cmakedefine HAVE_CMATH_ISINF
|
|
|
|
|
2012-01-13 09:46:02 +00:00
|
|
|
#cmakedefine HAVE_CLOCK_GETTIME
|
2013-02-11 00:41:49 +00:00
|
|
|
|
2012-01-13 09:46:02 +00:00
|
|
|
#cmakedefine HAVE_GETTIMEOFDAY_FUNC
|
|
|
|
|
2009-05-21 17:42:42 +00:00
|
|
|
#cmakedefine MALLOC_IN_STDLIB_H
|
|
|
|
|
|
|
|
#if !defined( MALLOC_IN_STDLIB_H )
|
|
|
|
#include <malloc.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#cmakedefine HAVE_ISO646_H
|
|
|
|
|
|
|
|
#if defined( HAVE_ISO646_H )
|
|
|
|
#include <iso646.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined( HAVE_STRCASECMP )
|
|
|
|
#define stricmp strcasecmp
|
|
|
|
#elif defined( HAVE_ISO_STRICMP )
|
|
|
|
#define stricmp _stricmp
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined( HAVE_STRNCASECMP )
|
|
|
|
#define strnicmp strncasecmp
|
|
|
|
#elif defined( HAVE_ISO_STRNICMP )
|
|
|
|
#define strnicmp _strnicmp
|
|
|
|
#endif
|
|
|
|
|
2012-11-10 06:39:18 +00:00
|
|
|
// Use Posix getc_unlocked() instead of getc() when it's available.
|
|
|
|
#cmakedefine HAVE_FGETC_NOLOCK
|
2012-10-09 14:31:36 +00:00
|
|
|
|
2012-11-10 06:39:18 +00:00
|
|
|
// Warning!!! Using wxGraphicContext for rendering is experimental.
|
2010-02-08 18:15:42 +00:00
|
|
|
#cmakedefine USE_WX_GRAPHICS_CONTEXT 1
|
2009-11-05 08:52:41 +00:00
|
|
|
|
2011-08-29 19:50:05 +00:00
|
|
|
#cmakedefine USE_IMAGES_IN_MENUS 1
|
|
|
|
|
2012-10-07 15:37:25 +00:00
|
|
|
/// Definitions to enable the s-expression file formats and nanometer units.
|
2012-04-07 18:05:56 +00:00
|
|
|
#cmakedefine USE_PCBNEW_NANOMETRES
|
2011-12-15 02:24:52 +00:00
|
|
|
|
2012-04-07 18:05:56 +00:00
|
|
|
/// The legacy file format revision of the *.brd file created by this build
|
|
|
|
#if defined(USE_PCBNEW_NANOMETRES)
|
|
|
|
#define LEGACY_BOARD_FILE_VERSION 2
|
2011-12-15 02:24:52 +00:00
|
|
|
#else
|
2012-04-07 18:05:56 +00:00
|
|
|
#define LEGACY_BOARD_FILE_VERSION 1
|
2011-12-15 02:24:52 +00:00
|
|
|
#endif
|
|
|
|
|
2013-02-23 19:30:43 +00:00
|
|
|
/// Definition to compile with Pcbnew footprint library table implementation.
|
|
|
|
#cmakedefine USE_FP_LIB_TABLE
|
|
|
|
|
2011-12-15 02:24:52 +00:00
|
|
|
#endif // CONFIG_H_
|