[Openmp-commits] [PATCH] D36343: Use va_copy instead of __va_copy to fix building libomp against musl libc

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Aug 19 16:54:47 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL311269: Use va_copy instead of __va_copy to fix building libomp against musl libc (authored by jlpeyton).

Changed prior to commit:
  https://reviews.llvm.org/D36343?vs=109837&id=111860#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36343

Files:
  openmp/trunk/runtime/src/kmp_str.cpp


Index: openmp/trunk/runtime/src/kmp_str.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_str.cpp
+++ openmp/trunk/runtime/src/kmp_str.cpp
@@ -168,7 +168,7 @@
 
 #if !KMP_OS_WINDOWS
       va_list _args;
-      __va_copy(_args, args); // Make copy of args.
+      va_copy(_args, args); // Make copy of args.
 #define args _args // Substitute args with its copy, _args.
 #endif // KMP_OS_WINDOWS
       rc = KMP_VSNPRINTF(buffer->str + buffer->used, free, format, args);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36343.111860.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170819/33a2b03a/attachment.bin>


More information about the Openmp-commits mailing list