vcpkg/ports/antlr4/static.patch
2016-12-25 18:44:20 +08:00

13 lines
366 B
Diff

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.