pnggccrd.c 761 B

123456789101112131415161718192021222324252627
  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. #if (!defined _MSC_VER) && \
  15. defined(PNG_ASSEMBLER_CODE_SUPPORTED) && \
  16. defined(PNG_MMX_CODE_SUPPORTED)
  17. int PNGAPI png_dummy_mmx_support(void);
  18. int PNGAPI png_dummy_mmx_support(void)
  19. {
  20. /* 0: no MMX; 1: MMX supported; 2: not tested */
  21. return 2;
  22. }
  23. #endif