pnggccrd.c (735B)
1 /* pnggccrd.c 2 * 3 * Last changed in libpng 1.2.48 [March 8, 2012] 4 * Copyright (c) 1998-2012 Glenn Randers-Pehrson 5 * 6 * This code is released under the libpng license. 7 * For conditions of distribution and use, see the disclaimer 8 * and license in png.h 9 * 10 * This code snippet is for use by configure's compilation test. Most of the 11 * remainder of the file was removed from libpng-1.2.20, and all of the 12 * assembler code was removed from libpng-1.2.48. 13 */ 14 15 #if (!defined _MSC_VER) && \ 16 defined(PNG_ASSEMBLER_CODE_SUPPORTED) && \ 17 defined(PNG_MMX_CODE_SUPPORTED) 18 19 int PNGAPI png_dummy_mmx_support(void); 20 21 int PNGAPI png_dummy_mmx_support(void) 22 { 23 /* 0: no MMX; 1: MMX supported; 2: not tested */ 24 return 2; 25 } 26 #endif