diff --git a/src/d_main.c b/src/d_main.c
index 037aeccf96b4897aec0e047de1fe4241897bb8f5..15b144dda8839a1464f8aa99974f0633562d6583 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -761,10 +761,6 @@ static inline void D_CleanFile(void)
 	}
 }
 
-#ifndef _MAX_PATH
-#define _MAX_PATH MAX_WADPATH
-#endif
-
 // ==========================================================================
 // Identify the SRB2 version, and IWAD file to use.
 // ==========================================================================