vcpkg/ports/antlr4/export_guid.patch
Akihisa Yagi 9f2bb70914
[antlr4] update to 4.8 (#14036)
* [antlr4] update to 4.8

* [antlr4] Add supports

* [antlr4] Regenerate patch files

* [antlr4] Remove spaces from patch files

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-10-17 02:01:36 -07:00

22 lines
701 B
Diff

diff -urN a/runtime/src/support/guid.h b/runtime/src/support/guid.h
--- a/runtime/src/support/guid.h
+++ b/runtime/src/support/guid.h
@@ -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