Skip to content

Commit 3e1e4e6

Browse files
tamlin-mikeXottab-DUTY
authored andcommitted
Make cxImage/ximajpg.cpp compilable in debug build.
1 parent 09d46a3 commit 3e1e4e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Externals/cximage/ximajpg.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ bool CxImageJPG::Decode(CxFile * hFile)
281281
#endif //CXIMAGE_SUPPORT_DECODE
282282
////////////////////////////////////////////////////////////////////////////////
283283
#if CXIMAGE_SUPPORT_ENCODE
284+
285+
#ifdef DEBUG
286+
#include "xrCore/FTimer.h"
287+
#include "xrCore/log.h"
288+
#endif
289+
284290
////////////////////////////////////////////////////////////////////////////////
285291
bool CxImageJPG::Encode(CxFile * hFile)
286292
{

0 commit comments

Comments
 (0)