aboutsummaryrefslogtreecommitdiff
path: root/ports/antlr4/static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/antlr4/static.patch')
-rw-r--r--ports/antlr4/static.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/antlr4/static.patch b/ports/antlr4/static.patch
new file mode 100644
index 000000000..fb54c5ae4
--- /dev/null
+++ b/ports/antlr4/static.patch
@@ -0,0 +1,12 @@
+diff --git a/antlr4-common.h b/antlr4-common.h
+index 197fd6d..34a62c8 100644
+--- a/antlr4-common.h
++++ b/antlr4-common.h
+@@ -34,6 +34,7 @@
+ #include <bitset>
+ #include <condition_variable>
+
++#define ANTLR4CPP_STATIC
+ // Defines for the Guid class and other platform dependent stuff.
+ #ifdef _WIN32
+ #pragma warning (disable: 4250) // Class inherits by dominance.