mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 22:57:51 +08:00
20 lines
566 B
Diff
20 lines
566 B
Diff
|
diff --git a/frmts/openjpeg/openjpegdataset.cpp b/frmts/openjpeg/openjpegdataset.cpp
|
||
|
index 1fd4f4f..417f7a8 100644
|
||
|
--- a/frmts/openjpeg/openjpegdataset.cpp
|
||
|
+++ b/frmts/openjpeg/openjpegdataset.cpp
|
||
|
@@ -29,12 +29,8 @@
|
||
|
|
||
|
/* This file is to be used with openjpeg 2.0 */
|
||
|
|
||
|
-#if defined(OPENJPEG_VERSION) && OPENJPEG_VERSION >= 20100
|
||
|
-#include <openjpeg-2.1/openjpeg.h>
|
||
|
-#else
|
||
|
-#include <stdio.h> /* openjpeg.h needs FILE* */
|
||
|
-#include <openjpeg-2.0/openjpeg.h>
|
||
|
-#endif
|
||
|
+#include <stdio.h>
|
||
|
+#include <openjpeg.h>
|
||
|
#include <vector>
|
||
|
|
||
|
#include "gdaljp2abstractdataset.h"
|