From: Turo Lamminen Date: Tue, 23 Apr 2024 17:23:03 +0000 (+0300) Subject: Use M_TempFile win32 code also on DJGPP X-Git-Url: https://git.0x19.co/sitemap.xml?a=commitdiff_plain;h=a236d63e6de87ea8271187c1d7292af08f572b15;p=doomgeneric-snom360 Use M_TempFile win32 code also on DJGPP --- diff --git a/doomgeneric/m_misc.c b/doomgeneric/m_misc.c index 53b86db..54b2613 100644 --- a/doomgeneric/m_misc.c +++ b/doomgeneric/m_misc.c @@ -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.