diff --git a/src/d_netcmd.c b/src/d_netcmd.c
index 6c6f65b497e4585826f3d2f4698fccee3167db1e..8abfb8709e140e6bf4f7441bc89b15b66c8143d9 100644
--- a/src/d_netcmd.c
+++ b/src/d_netcmd.c
@@ -3435,7 +3435,7 @@ static void Command_Version_f(void)
 
 	// OS
 	// Would be nice to use SDL_GetPlatform for this
-#if defined(_WINDOWS)
+#if defined (_WIN32) || defined (_WIN64)
 	CONS_Printf("Windows ");
 #elif defined(__linux__)
 	CONS_Printf("Linux ");