aboutsummaryrefslogtreecommitdiff
path: root/ports/antlr4/export_guid.patch
blob: a92c034db401fa8dfb2285439f3b661c09d2d238 (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 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