← Commit list

3ba74c4395

Viktor Szakats
Viktor Szakats
2025-09-10
FAILED Duration: 156s

Subject

curl_mem_undef.h: limit to `CURLDEBUG` for non-memalloc overrides

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_mem_undef.h+7 -3
@@ -29,13 +29,15 @@
#undef calloc
#undef realloc
#undef free
-#undef send
-#undef recv
-
#ifdef _WIN32
#undef _tcsdup
#endif
+#ifdef CURLDEBUG
+
+#undef send
+#undef recv
+
#undef socket
#ifdef HAVE_ACCEPT4
#undef accept4
@@ -51,5 +53,7 @@
#undef fdopen
#undef fclose
+#endif /* CURLDEBUG */
+
#undef HEADER_CURL_MEMORY_H
#undef HEADER_CURL_MEMDEBUG_H