aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gobject-introspection/0004-fastcall.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/gobject-introspection/0004-fastcall.patch')
-rw-r--r--vcpkg/ports/gobject-introspection/0004-fastcall.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/gobject-introspection/0004-fastcall.patch b/vcpkg/ports/gobject-introspection/0004-fastcall.patch
new file mode 100644
index 0000000..74fbbb6
--- /dev/null
+++ b/vcpkg/ports/gobject-introspection/0004-fastcall.patch
@@ -0,0 +1,12 @@
+diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
+index 38e21534edfa6c92f2ecb6c8a68b6d0360c21c64..4ca62d21f8fa8e663db152415d0ef85cfe6107f5 100644
+--- a/giscanner/scannerlexer.l
++++ b/giscanner/scannerlexer.l
+@@ -193,6 +193,7 @@ stringtext ([^\\\"])|(\\.)
+ "__declspec(deprecated(".*"))" { /* Ignore */ }
+ "__declspec"[\t ]*"("[a-z\t ]+")" { /* Ignore */ }
+ "__stdcall" { /* ignore */ }
++"__fastcall" { /* ignore */ }
+ "__w64" { /* ignore */ }
+
+ "G_GINT64_CONSTANT" { return INTL_CONST; }