You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
15 lines
421 B
Diff
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);
|
||
|
|
|