[libcxx-commits] [PATCH] D122570: [libcxx] [test] Include header for strverscmp
Jonathan Wakely via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 28 13:59:50 PDT 2022
jwakely updated this revision to Diff 418696.
jwakely added a comment.
Add comment to `#include` (with the right attachment t his time!)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122570/new/
https://reviews.llvm.org/D122570
Files:
libcxx/test/support/platform_support.h
Index: libcxx/test/support/platform_support.h
===================================================================
--- libcxx/test/support/platform_support.h
+++ libcxx/test/support/platform_support.h
@@ -42,6 +42,10 @@
# include <unistd.h> // close
#endif
+#if defined(_CS_GNU_LIBC_VERSION)
+# include <string.h> // strverscmp
+#endif
+
#if defined(_NEWLIB_VERSION) && defined(__STRICT_ANSI__)
// Newlib provides this, but in the header it's under __STRICT_ANSI__
extern "C" {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122570.418696.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220328/3f5bf1ed/attachment.bin>
More information about the libcxx-commits
mailing list