summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/doomtype.h4
-rw-r--r--src/i_scale.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doomtype.h b/src/doomtype.h
index 83b119a0..10820c12 100644
--- a/src/doomtype.h
+++ b/src/doomtype.h
@@ -21,6 +21,10 @@
#ifndef __DOOMTYPE__
#define __DOOMTYPE__
+#if defined(_MSC_VER) && !defined(__cplusplus)
+#define inline __inline
+#endif
+
// #define macros to provide functions missing in Windows.
// Outside Windows, we use strings.h for str[n]casecmp.
diff --git a/src/i_scale.c b/src/i_scale.c
index 4d7bb22c..545a1f13 100644
--- a/src/i_scale.c
+++ b/src/i_scale.c
@@ -28,10 +28,6 @@
#include "m_argv.h"
#include "z_zone.h"
-#if defined(_MSC_VER) && !defined(__cplusplus)
-#define inline __inline
-#endif
-
// Should be I_VideoBuffer
static byte *src_buffer;