diff --git a/code/qcommon/vm_x86.c b/code/qcommon/vm_x86.c
index 92a812e..7b971fd 100644
--- a/code/qcommon/vm_x86.c
+++ b/code/qcommon/vm_x86.c
@@ -396,6 +396,7 @@ qboolean EmitMovEBXEDI(vm_t *vm, int andit) {
VM_Compile
=================
*/
+#ifndef DLL_ONLY // bk010215 - for DLL_ONLY dedicated servers/builds w/o VM
void VM_Compile( vm_t *vm, vmHeader_t *header ) {
int op;
int maxLength;
@@ -1083,6 +1084,7 @@ void VM_Compile( vm_t *vm, vmHeader_t *header ) {
#endif
}
+#endif // !DLL_ONLY
/*
==============
diff --git a/code/quake3.vcxproj b/code/quake3.vcxproj
index 7bfaade..d306c62 100644
--- a/code/quake3.vcxproj
+++ b/code/quake3.vcxproj
@@ -137,6 +137,11 @@
.\Debug_TA\
true
+
+
+ DLL_ONLY;%(PreprocessorDefinitions)
+
+
MaxSpeed