pajoye                                   Wed, 06 Oct 2010 09:02:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=304135

Log:
- don't build  if no libvpx available

Changed paths:
    U   php/php-src/trunk/ext/gd/libgd/webpimg.c

Modified: php/php-src/trunk/ext/gd/libgd/webpimg.c
===================================================================
--- php/php-src/trunk/ext/gd/libgd/webpimg.c    2010-10-06 07:09:37 UTC (rev 
304134)
+++ php/php-src/trunk/ext/gd/libgd/webpimg.c    2010-10-06 09:02:08 UTC (rev 
304135)
@@ -30,7 +30,8 @@
  *
  * 6. AdjustColorspaceBack:
  */
-
+#include "gd.h"
+#ifdef HAVE_LIBVPX
 #include "webpimg.h"

 #include <math.h>
@@ -896,3 +897,4 @@
        }
        return webp_failure;
 }
+#endif /* HAVE_LIBVPX */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to