summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc.c b/src/misc.c
index f5bfee4c..cbd2cacf 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -23,7 +23,7 @@ this program. If not, see <https://www.gnu.org/licenses/>. */
#include <assert.h>
#include <stdarg.h>
-#ifdef WINDOWS32
+#if MK_OS_W32
# include <windows.h>
# include <io.h>
#endif
@@ -525,7 +525,7 @@ spin (const char* type)
{
fprintf (stderr, "SPIN on %s\n", filenm);
do
-#ifdef WINDOWS32
+#if MK_OS_W32
Sleep (1000);
#else
sleep (1);
@@ -585,7 +585,7 @@ get_tmpdir ()
if (!tmpdir)
{
-#if defined (__MSDOS__) || defined (WINDOWS32) || defined (__EMX__)
+#if defined (__MSDOS__) || MK_OS_W32 || defined (__EMX__)
# define TMP_EXTRAS "TMP", "TEMP",
#else
# define TMP_EXTRAS