aports/testing/juce/juce_config.patch
2026-04-13 21:58:53 +01:00

26 lines
608 B
Diff

--- /dev/null
+++ b/modules/juce_core/juce_core/juce-config.h
@@ -0,0 +1,22 @@
+#pragma once
+// Musl detection
+#if !defined(__GLIBC__) && !defined(__UCLIBC__)
+#define __MUSL__ 1
+#endif
+// Release mode
+#ifndef NDEBUG
+#define NDEBUG
+#endif
+#ifndef _NDEBUG
+#define _NDEBUG
+#endif
+// JUCE settings
+#define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED 1
+#define JUCE_STANDALONE_APPLICATION 1
+#define JUCE_USE_CURL 0
+#define JUCE_WEB_BROWSER 0
+#define JUCE_MODAL_LOOPS_PERMITTED 1
+#define BACKWARD_HAS_DW 1
+#define JUCE_FORCE_DEBUG 0
+#define JUCE_LOG_ASSERTIONS 0
+#define JUCE_CHECK_MEMORY_LEAKS 0
+