Loading...
Searching...
No Matches
Go to the documentation of this file.
42#if defined (_WIN32) || defined (_WIN64)
43 #define JUCE_WINDOWS 1
44#elif defined (JUCE_ANDROID)
46 #define JUCE_ANDROID 1
47#elif defined (__FreeBSD__) || (__OpenBSD__)
49#elif defined (__wasm__)
51#elif defined (LINUX) || defined (__linux__)
53#elif defined (__APPLE_CPP__) || defined (__APPLE_CC__)
54 #define CF_EXCLUDE_CSTD_HEADERS 1
55 #include <TargetConditionals.h>
56 #include <AvailabilityMacros.h>
58 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
65 #error "Unknown platform!"
92 #define JUCE_LITTLE_ENDIAN 1
98#if JUCE_MAC || JUCE_IOS
100 #if defined (DEBUG) || defined (_DEBUG) || ! (defined (NDEBUG) || defined (_NDEBUG))
104 #if ! (defined (DEBUG) || defined (_DEBUG) || defined (NDEBUG) || defined (_NDEBUG))
105 #warning "Neither NDEBUG or DEBUG has been defined - you should set one of these to make it clear whether this is a release build,"
108 #ifdef __LITTLE_ENDIAN__
109 #define JUCE_LITTLE_ENDIAN 1
111 #define JUCE_BIG_ENDIAN 1
120 #if defined (__ppc__) || defined (__ppc64__)
121 #error "PowerPC is no longer supported by JUCE!"
122 #elif defined (__arm__) || defined (__arm64__)
129 #if ! defined (MAC_OS_X_VERSION_10_14)
130 #error "The 10.14 SDK (Xcode 10.1+) is required to build JUCE apps. You can create apps that run on macOS 10.7+ by changing the deployment target."
131 #elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
132 #error "Building for OSX 10.6 is no longer supported!"
138#if JUCE_LINUX || JUCE_ANDROID || JUCE_BSD
145 #if defined (__LITTLE_ENDIAN__) || ! defined (JUCE_BIG_ENDIAN)
146 #define JUCE_LITTLE_ENDIAN 1
147 #undef JUCE_BIG_ENDIAN
149 #undef JUCE_LITTLE_ENDIAN
150 #define JUCE_BIG_ENDIAN 1
153 #if defined (__LP64__) || defined (_LP64) || defined (__arm64__)
159 #if defined (__arm__) || defined (__arm64__) || defined (__aarch64__)
161 #elif __MMX__ || __SSE__ || __amd64__
169#if defined (__clang__)
172#elif defined (__GNUC__)
175#elif defined (_MSC_VER)
179 #error unknown compiler