Skip to content

Commit 1db27a0

Browse files
committed
More tweaks
1 parent 177dc8d commit 1db27a0

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

modules/yup_audio_basics/buffers/yup_FloatVectorOperations.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ void convertDoubleToFloat (float* dest, const double* src, Size num) noexcept
15641564
float32x2_t f = vcvt_f32_f64 (d);
15651565
vst1_f32 (dest + i, f);
15661566
}
1567-
#elif JUCE_USE_SSE_INTRINSICS
1567+
#elif YUP_USE_SSE_INTRINSICS
15681568
for (; i + 2 <= num; i += 2)
15691569
{
15701570
__m128d d = _mm_loadu_pd (src + i);
@@ -1592,7 +1592,7 @@ void convertFloatToDouble (double* dest, const float* src, Size num) noexcept
15921592
float64x2_t d = vcvt_f64_f32 (f);
15931593
vst1q_f64 (dest + i, d);
15941594
}
1595-
#elif JUCE_USE_SSE_INTRINSICS
1595+
#elif YUP_USE_SSE_INTRINSICS
15961596
for (; i + 4 <= num; i += 4)
15971597
{
15981598
__m128 f = _mm_loadu_ps (src + i);

modules/yup_core/system/yup_SystemStats.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ String SystemStats::getYUPVersion()
5757
return "YUP v" YUP_STRINGIFY (YUP_MAJOR_VERSION) "." YUP_STRINGIFY (YUP_MINOR_VERSION) "." YUP_STRINGIFY (YUP_BUILDNUMBER);
5858
}
5959

60-
#if YUP_ANDROID && ! defined(YUP_DISABLE_YUP_VERSION_PRINTING)
61-
#define YUP_DISABLE_YUP_VERSION_PRINTING 1
60+
#if YUP_ANDROID && ! defined(YUP_DISABLE_VERSION_PRINTING)
61+
#define YUP_DISABLE_VERSION_PRINTING 1
6262
#endif
6363

64-
#if YUP_DEBUG && ! YUP_DISABLE_YUP_VERSION_PRINTING
64+
#if YUP_DEBUG && ! YUP_DISABLE_VERSION_PRINTING
6565
struct YupVersionPrinter
6666
{
6767
YupVersionPrinter()

modules/yup_core/system/yup_TargetPlatform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
//==============================================================================
110110
#if YUP_WINDOWS
111111
#ifdef __MINGW32__
112-
#error "MingW is no longer supported by YUP!"
112+
#error "MingW is an unsupported platform in YUP!"
113113
#endif
114114

115115
#ifdef _MSC_VER

modules/yup_python/bindings/yup_YupCore_bindings.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ template <class Base = InputStream>
393393
struct PyInputStream : Base
394394
{
395395
private:
396-
#if JUCE_WINDOWS && ! JUCE_MINGW
396+
#if YUP_WINDOWS
397397
using ssize_t = pointer_sized_int;
398398
#endif
399399

@@ -878,13 +878,13 @@ struct PyThread : Base
878878

879879
void run() override
880880
{
881-
#if JUCE_PYTHON_THREAD_CATCH_EXCEPTION
881+
#if YUP_PYTHON_THREAD_CATCH_EXCEPTION
882882
try
883883
{
884884
#endif
885885
PYBIND11_OVERRIDE_PURE (void, Base, run);
886886

887-
#if JUCE_PYTHON_THREAD_CATCH_EXCEPTION
887+
#if YUP_PYTHON_THREAD_CATCH_EXCEPTION
888888
}
889889
catch (const pybind11::error_already_set& e)
890890
{

python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ yup_add_default_modules ("${CMAKE_CURRENT_LIST_DIR}/.."
3030
ENABLE_PYTHON ON
3131
DEFINITIONS
3232
YUP_STANDALONE_APPLICATION=1
33-
YUP_DISABLE_JUCE_VERSION_PRINTING=1
33+
YUP_DISABLE_VERSION_PRINTING=1
3434
YUP_MODAL_LOOPS_PERMITTED=1
3535
YUP_CATCH_UNHANDLED_EXCEPTIONS=1
3636
YUP_LOG_ASSERTIONS=1

0 commit comments

Comments
 (0)