diff --git a/antlr4-common.h b/antlr4-common.h
index ce45e9e..3162795 100644
--- a/antlr4-common.h
+++ b/antlr4-common.h
@@ -48,6 +48,7 @@
   #endif
 
   #define GUID_WINDOWS
+  #define ANTLR4CPP_STATIC
 
   #ifdef _WIN64
     typedef __int64 ssize_t;
