summaryrefslogtreecommitdiff
path: root/libopenjpeg/openjpeg.c
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2010-10-05 10:33:15 +0000
committerAntonin Descampe <antonin@gmail.com>2010-10-05 10:33:15 +0000
commiteeefefd56cb3edddefb73141733fd1e757c4b798 (patch)
tree4727958764c4c348762c043c2efbb7470a9ffcca /libopenjpeg/openjpeg.c
parent531c0cf26f0c327b42a5caa79725e4afeb98768d (diff)
Added files to let people build openjpeg with configure tools ; Added makefiles to let people manually build openjpeg on *nix platforms ; Removed obsolete Makefiles ; Renamed dirent.h to windirent.h ; Made optional the PNG, TIFF, and LCMS support in CMake files ; Added opj_config* files to configure openjpeg before building it (opj_config.h generated by configure, cmake, or manually by the user) ; Renamed this file from ChangeLog to CHANGES ; Renamed License.txt to LICENSE ; Updated README files ; Added INSTALL and LICENSE files ; Added man pages
Diffstat (limited to 'libopenjpeg/openjpeg.c')
-rw-r--r--libopenjpeg/openjpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopenjpeg/openjpeg.c b/libopenjpeg/openjpeg.c
index 565c5caa..99866b8a 100644
--- a/libopenjpeg/openjpeg.c
+++ b/libopenjpeg/openjpeg.c
@@ -1,3 +1,4 @@
+#include <opj_config.h>
/*
* Copyright (c) 2005, Hervé Drolon, FreeImage Team
* All rights reserved.
@@ -54,7 +55,7 @@ DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
const char* OPJ_CALLCONV opj_version(void) {
- return OPENJPEG_VERSION;
+ return PACKAGE_VERSION;
}
opj_dinfo_t* OPJ_CALLCONV opj_create_decompress(OPJ_CODEC_FORMAT format) {