summaryrefslogtreecommitdiff
path: root/indra/llimagej2coj
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-07 16:06:32 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-07 16:06:32 -0500
commit6dd0a500ea74a329fc3d5326a8884d6daa42dcff (patch)
tree2e6cea711be9dd4db3987fec6a241c7a28e3ca9d /indra/llimagej2coj
parent5bb456d80cfbcdfe87526510f3b8297d315afdd8 (diff)
parent70a42af076cbe6f12a265d508b4ed96af65d26ba (diff)
Automated merge with ssh://bitbucket.org/lindenlab/viewer-skip-llcorehttp-test
Diffstat (limited to 'indra/llimagej2coj')
-rw-r--r--indra/llimagej2coj/llimagej2coj.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp
index 3bb1778d9d..925da5674b 100644
--- a/indra/llimagej2coj/llimagej2coj.cpp
+++ b/indra/llimagej2coj/llimagej2coj.cpp
@@ -41,8 +41,12 @@ LLImageJ2CImpl* fallbackCreateLLImageJ2CImpl()
std::string LLImageJ2COJ::getEngineInfo() const
{
+#ifdef OPENJPEG_VERSION
return std::string("OpenJPEG: " OPENJPEG_VERSION ", Runtime: ")
+ opj_version();
+#else
+ return std::string("OpenJPEG runtime: ") + opj_version();
+#endif
}
// Return string from message, eliminating final \n if present