ports/devel/libmemcached/patches/patch-libtest_lite_h

15 lines
307 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
configure tests for availability of alloca.h, but
it's used unconditionally here.
--- libtest/lite.h.orig Sun Nov 8 20:10:49 2015
+++ libtest/lite.h Sun Nov 8 20:10:32 2015
@@ -53,7 +53,7 @@
#if defined(WIN32)
# include <malloc.h>
-#else
+#elif defined(HAVE_ALLOCA_H)
# include <alloca.h>
#endif