diff options
author | Pierre Joye <pajoye@php.net> | 2010-10-06 09:02:08 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-10-06 09:02:08 +0000 |
commit | 76d273d45533de547e733794e940cad8f673351f (patch) | |
tree | 947833d2dd3b21efa9abec950a11dfbcef1c41c9 | |
parent | 63d6892b56fd7266d988587d8ed8297a0ed95c9b (diff) | |
download | php-git-76d273d45533de547e733794e940cad8f673351f.tar.gz |
- don't build if no libvpx available
-rw-r--r-- | ext/gd/libgd/webpimg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/gd/libgd/webpimg.c b/ext/gd/libgd/webpimg.c index 171c6b1141..01bef93c48 100644 --- 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 */ |