early-access version 2853
This commit is contained in:
22
externals/vcpkg/ports/antlr4/export_guid.patch
vendored
Executable file
22
externals/vcpkg/ports/antlr4/export_guid.patch
vendored
Executable file
@@ -0,0 +1,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
|
||||
@@ -42,7 +42,7 @@ namespace antlrcpp {
|
||||
// 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 final {
|
||||
+class ANTLR4CPP_PUBLIC Guid final {
|
||||
public:
|
||||
using size_type = typename std::array<uint8_t, 16>::size_type;
|
||||
using pointer = typename std::array<uint8_t, 16>::pointer;
|
||||
@@ -131,7 +131,7 @@ private:
|
||||
// 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 final {
|
||||
+class ANTLR4CPP_PUBLIC GuidGenerator final {
|
||||
public:
|
||||
#ifdef GUID_ANDROID
|
||||
GuidGenerator(JNIEnv *env);
|
||||
|
Reference in New Issue
Block a user