summaryrefslogtreecommitdiffstats
path: root/external/skia/fix-SkDebugf-link-error.patch.1
blob: 989e8c407815e44fa0fbdcc54b7446ccea9f7726 (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/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