summaryrefslogtreecommitdiff
path: root/src/bin/jpwl/convert.c
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2013-03-17 17:03:00 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2013-03-17 17:03:00 +0000
commita13e4a77e022be5978284b6ed6d6156d4af1378c (patch)
treeecce8f95ec60a26e3dd68a0eef7bc1ae8626d3a7 /src/bin/jpwl/convert.c
parent6de2271e2a3a5489399302c992b53ab2a0f01a8c (diff)
[trunk] use everywhere the new opj_ prefix for HAVE variables and use the opj_apps_config file (thanks to winfried)
Diffstat (limited to 'src/bin/jpwl/convert.c')
-rw-r--r--src/bin/jpwl/convert.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/jpwl/convert.c b/src/bin/jpwl/convert.c
index 11e89f7b..98f3c62c 100644
--- a/src/bin/jpwl/convert.c
+++ b/src/bin/jpwl/convert.c
@@ -29,21 +29,21 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "opj_config.h"
+#include "opj_apps_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
-#ifdef HAVE_LIBTIFF
+#ifdef OPJ_HAVE_LIBTIFF
#include <tiffio.h>
-#endif /* HAVE_LIBTIFF */
+#endif /* OPJ_HAVE_LIBTIFF */
-#ifdef HAVE_LIBPNG
+#ifdef OPJ_HAVE_LIBPNG
#include <zlib.h>
#include <png.h>
-#endif /* HAVE_LIBPNG */
+#endif /* OPJ_HAVE_LIBPNG */
#include "openjpeg.h"
#include "convert.h"
@@ -2074,7 +2074,7 @@ int imagetopnm(opj_image_t * image, const char *outfile)
return 0;
}/* imagetopnm() */
-#ifdef HAVE_LIBTIFF
+#ifdef OPJ_HAVE_LIBTIFF
/* -->> -->> -->> -->>
TIFF IMAGE FORMAT
@@ -2781,7 +2781,7 @@ opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters)
}/* tiftoimage() */
-#endif /* HAVE_LIBTIFF */
+#endif /* OPJ_HAVE_LIBTIFF */
/* -->> -->> -->> -->>
@@ -3027,7 +3027,7 @@ int imagetoraw(opj_image_t * image, const char *outfile)
return 0;
}
-#ifdef HAVE_LIBPNG
+#ifdef OPJ_HAVE_LIBPNG
#define PNG_MAGIC "\x89PNG\x0d\x0a\x1a\x0a"
#define MAGIC_SIZE 8
@@ -3560,4 +3560,4 @@ fin:
return fails;
}/* imagetopng() */
-#endif /* HAVE_LIBPNG */
+#endif /* OPJ_HAVE_LIBPNG */