summaryrefslogtreecommitdiff
path: root/src/libpng/pnggccrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpng/pnggccrd.c')
-rw-r--r--src/libpng/pnggccrd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libpng/pnggccrd.c b/src/libpng/pnggccrd.c
index a7248d6..e61523e 100644
--- a/src/libpng/pnggccrd.c
+++ b/src/libpng/pnggccrd.c
@@ -2,8 +2,10 @@
/* This code snippet is for use by configure's compilation test. */
-#if defined(PNG_ASSEMBLER_CODE_SUPPORTED) && \
+#if (!defined _MSC_VER) && \
+ defined(PNG_ASSEMBLER_CODE_SUPPORTED) && \
defined(PNG_MMX_CODE_SUPPORTED)
+
int PNGAPI png_dummy_mmx_support(void);
static int _mmx_supported = 2; // 0: no MMX; 1: MMX supported; 2: not tested