Files
macports-ports/devel/log4cpp/files/patch-StringUtil.cpp.patch
2024-01-29 19:44:14 -05:00

15 lines
421 B
Diff

--- ./src/StringUtil.cpp 2024-01-29 19:35:43
+++ ./src/StringUtil.cpp 2024-01-29 19:35:58
@@ -41,11 +41,7 @@
while (1) {
va_list args_copy;
-#if defined(_MSC_VER) || defined(__BORLANDC__) || !(defined(__cplusplus) && (__cplusplus >= 201103L))
- args_copy = args;
-#else
va_copy(args_copy, args);
-#endif
int n = VSNPRINTF(buffer, size, format, args_copy);