svn: /php/php-src/trunk/ext/gd/libgd/ webpimg.c
| From: | Pierre Joye | Date: | Wed, 06 Oct 2010 09:02:08 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/gd/libgd/ webpimg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-63656@lists.php.net to get a copy of this message | ||
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 */