summaryrefslogtreecommitdiff
path: root/external/skia/fix-SkDebugf-link-error.patch.1
blob: fe207f80d6852f7696a92d4b5485699d64cd3e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -ur skia.org/src/ports/SkDebug_stdio.cpp skia/src/ports/SkDebug_stdio.cpp
--- skia.org/src/ports/SkDebug_stdio.cpp	2023-07-09 19:30:53.272682125 +0200
+++ skia/src/ports/SkDebug_stdio.cpp	2023-07-09 19:34:44.812723870 +0200
@@ -5,6 +5,7 @@
  * found in the LICENSE file.
  */
 
+#include "include/private/base/SkAPI.h"
 #include "include/private/base/SkDebug.h"
 #include "include/private/base/SkFeatures.h"
 #include "include/private/base/SkLoadUserConfig.h"
@@ -13,7 +14,7 @@
 #include <stdarg.h>
 #include <stdio.h>
 
-void SkDebugf(const char format[], ...) {
+SK_API void SkDebugf(const char format[], ...) {
     va_list args;
     va_start(args, format);
 #pragma GCC diagnostic push