windows-amd64-prebuilt-libr.../vcpkg/ports/antlr4/export_guid.patch

22 lines
774 B
Diff

diff -urN c/runtime/src/support/guid.h d/runtime/src/support/guid.h
--- c/runtime/src/support/guid.h 2017-07-01 09:51:22.000000000 +0800
+++ d/runtime/src/support/guid.h 2018-09-05 10:16:23.847717700 +0800
@@ -38,7 +38,7 @@
// 16 byte value that can be passed around by value. It also supports
// conversion to string (via the stream operator <<) and conversion from a
// string via constructor.
-class Guid
+class ANTLR4CPP_PUBLIC Guid
{
public:
@@ -90,7 +90,7 @@
// function would no longer be cross-platform if we parameterized the android
// version. Instead, construction of the GuidGenerator may be different on
// each platform, but the use of newGuid is uniform.
-class GuidGenerator
+class ANTLR4CPP_PUBLIC GuidGenerator
{
public:
#ifdef GUID_ANDROID