Annotation of embedaddon/php/ext/gd/libgd/gd_compat.c, revision 1.1

1.1     ! misho       1: #include "php_config.h" 
        !             2: #ifdef HAVE_GD_PNG
        !             3: /* needs to be first */
        !             4: # include <png.h>
        !             5: #endif
        !             6: 
        !             7: #ifdef HAVE_GD_JPG
        !             8: # include <jpeglib.h>
        !             9: #endif
        !            10: 
        !            11: #ifdef HAVE_GD_JPG
        !            12: int gdJpegGetVersionInt()
        !            13: {
        !            14:        return JPEG_LIB_VERSION;
        !            15: }
        !            16: 
        !            17: const char * gdJpegGetVersionString()
        !            18: {
        !            19:        switch(JPEG_LIB_VERSION) {
        !            20:                case 62:
        !            21:                        return "6b";
        !            22:                        break;
        !            23:                default:
        !            24:                        return "unknown";
        !            25:        }
        !            26: }
        !            27: #endif
        !            28: 
        !            29: #ifdef HAVE_GD_PNG
        !            30: const char * gdPngGetVersionString()
        !            31: {
        !            32:        return PNG_LIBPNG_VER_STRING;
        !            33: }
        !            34: #endif
        !            35: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>