]> git.0x19.co - doomgeneric-snom360/commitdiff
Use M_TempFile win32 code also on DJGPP
authorTuro Lamminen <turol@iki.fi>
Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)
committerTuro Lamminen <turol@iki.fi>
Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)
doomgeneric/m_misc.c

index 53b86dbab75ea7d261f05f56bce73e61d3b21c72..54b2613446306b7bcc630331f5e736d9065de3df 100644 (file)
@@ -168,7 +168,7 @@ char *M_TempFile(char *s)
 {
     char *tempdir;
 
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__DJGPP__)
 
     // Check the TEMP environment variable to find the location.