summaryrefslogtreecommitdiff
path: root/src/jpeg-8c/jconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jpeg-8c/jconfig.h')
-rw-r--r--src/jpeg-8c/jconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jpeg-8c/jconfig.h b/src/jpeg-8c/jconfig.h
index ee83f412..248d6d0f 100644
--- a/src/jpeg-8c/jconfig.h
+++ b/src/jpeg-8c/jconfig.h
@@ -31,7 +31,11 @@ typedef unsigned char boolean;
#endif
/* #undef RIGHT_SHIFT_IS_UNSIGNED */
+#ifdef _MSC_VER
+#define INLINE __inline
+#else
#define INLINE __inline__
+#endif
/* These are for configuring the JPEG memory manager. */
/* #undef DEFAULT_MAX_MEM */
/* #undef NO_MKTEMP */