projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d6892
)
- don't build if no libvpx available
author
Pierre Joye
<pajoye@php.net>
Wed, 6 Oct 2010 09:02:08 +0000
(09:02 +0000)
committer
Pierre Joye
<pajoye@php.net>
Wed, 6 Oct 2010 09:02:08 +0000
(09:02 +0000)
ext/gd/libgd/webpimg.c
patch
|
blob
|
history
diff --git
a/ext/gd/libgd/webpimg.c
b/ext/gd/libgd/webpimg.c
index 171c6b11410d9cde741066580999612511dc20cc..01bef93c48cababd928bd4517b6fcbf4d64d6ac5 100644
(file)
--- a/
ext/gd/libgd/webpimg.c
+++ b/
ext/gd/libgd/webpimg.c
@@
-30,7
+30,8
@@
*
* 6. AdjustColorspaceBack:
*/
-
+#include "gd.h"
+#ifdef HAVE_LIBVPX
#include "webpimg.h"
#include <math.h>
@@
-896,3
+897,4
@@
WebPResult WebPGetInfo(const uint8* data,
}
return webp_failure;
}
+#endif /* HAVE_LIBVPX */