#if defined(JPEG_DUAL_MODE_8_12)
#if !defined(HAVE_JPEGTURBO_DUAL_MODE_8_12)
#define LIBJPEG_12_PATH "../jpeg/libjpeg12/jpeglib.h"
#endif
#define NITFWriteJPEGBlock NITFWriteJPEGBlock_12
#define jpeg_vsiio_dest jpeg_vsiio_dest_12
#include "nitfwritejpeg.cpp"
#endif /* defined(JPEG_DUAL_MODE_8_12) */
