aboutsummaryrefslogtreecommitdiff
path: root/ports/antlr4/static.patch
blob: fb54c5ae40282e0b9f1fb9c088805326c3cfd11f (plain)
1
2
3
4
5
6
7
8
9
10
11
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.