← Commit list

12a1be509e

Juan Belon
Juan Belon
2026-02-05
SUCCESS Duration: 320s

Subject

curl_setup_once: allow CURL_DEBUGASSERT for customization

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curl_setup_once.h+5 -0
@@ -273,7 +273,12 @@ typedef unsigned int curl_bit;
*/
#undef DEBUGASSERT
#ifdef DEBUGBUILD
+#ifdef CURL_DEBUGASSERT
+/* External assertion handler for custom integrations */
+#define DEBUGASSERT(x) CURL_DEBUGASSERT(x)
+#else
#define DEBUGASSERT(x) assert(x)
+#endif
#else
#define DEBUGASSERT(x) do {} while(0)
#endif