26 #if ! __has_include( <cstdint> )
27 #error "<cstdint> is missing - Cinder requires libc++ on Mac OS X and iOS"
32 #include <boost/version.hpp>
34 #if BOOST_VERSION < 105500
35 #error "Cinder requires Boost version 1.55 or later"
41 #define CINDER_VERSION 806
42 #define CINDER_VERSION_STR "0.8.6dev"
56 #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
57 #if defined(WINAPI_PARTITION_DESKTOP)
58 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
62 #if BOOST_VERSION != 105500
63 #error "Incorrect Boost version See include/winrt/boost/README.txt for more info."
69 #elif defined(linux) || defined(__linux) || defined(__linux__)
71 #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
73 #include "TargetConditionals.h"
75 #define CINDER_COCOA_TOUCH
76 #if TARGET_IPHONE_SIMULATOR
77 #define CINDER_COCOA_TOUCH_SIMULATOR
79 #define CINDER_COCOA_TOUCH_DEVICE
85 #define __ASSERTMACROS__
87 #error "cinder compile error: Unknown platform"
90 #define CINDER_LITTLE_ENDIAN
94 #if defined( CINDER_WINRT )
102 #elif defined( _MSC_VER ) && ( _MSC_VER >= 1600 )
105 #include <functional>
109 #include <boost/chrono.hpp>
111 #elif defined( CINDER_COCOA ) && defined( _LIBCPP_VERSION ) // libc++
114 #elif defined( CINDER_COCOA ) // libstdc++
115 #error "Cinder requires libc++ on Mac OS X and iOS"
117 #error "Unkown platform configuration"
120 #include <boost/checked_delete.hpp>
121 using boost::checked_array_deleter;
124 #if ! defined( CINDER_NO_NS_ALIAS )
125 namespace ci = cinder;
126 #endif // ! defined( CINDER_NO_NS_ALIAS )
typedef int64_t(APIENTRYP GLEEPFNGLXSWAPBUFFERSMSCOMLPROC)(Display *dpy