summaryrefslogtreecommitdiff
path: root/indra/llimagej2coj/llimagej2coj.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2018-01-17 03:58:24 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2018-01-17 03:58:24 +0200
commit15c62d9e713eb1d51cc063c4ec2fed1d1f4ca59c (patch)
treebbd0338a45d6fe58923f108399eaa6db91568420 /indra/llimagej2coj/llimagej2coj.cpp
parent4e808cfa852b873b484d0b9c90ab89ac196c3e52 (diff)
parent57a99273ed023bd71c54399969e66ffc23eebc57 (diff)
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llimagej2coj/llimagej2coj.cpp')
-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