aboutsummaryrefslogtreecommitdiff
path: root/ports/antlr4/export_guid.patch
blob: 4974718a7a355d2fc6a14457955fd6c3e81225cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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