summaryrefslogtreecommitdiff
path: root/pnggccrd.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2008-05-04 05:16:32 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:17:01 -0500
commit1586ea6fe9ff3db080ecf238cf157638fedc4e35 (patch)
treeaea31004413969aee8e6bbf4afa9b6120b539280 /pnggccrd.c
parentae505c50b0fb327bba8164e0bf94d13b737129a9 (diff)
downloadlibpng-1586ea6fe9ff3db080ecf238cf157638fedc4e35.tar.gz
Imported from libpng-1.2.29rc01.tarv1.2.29rc01
Diffstat (limited to 'pnggccrd.c')
-rw-r--r--pnggccrd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pnggccrd.c b/pnggccrd.c
index a7248d6ca..e61523e77 100644
--- a/pnggccrd.c
+++ b/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