We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2ba102 + f19c213 commit 61309d7Copy full SHA for 61309d7
src/lib/openjp2/openjpeg.h
@@ -138,6 +138,8 @@ typedef int64_t OPJ_OFF_T; /* 64-bit file offset type */
138
#include <stdio.h>
139
typedef size_t OPJ_SIZE_T;
140
141
+#include "opj_config.h"
142
+
143
/* Avoid compile-time warning because parameter is not used */
144
#define OPJ_ARG_NOT_USED(x) (void)(x)
145
src/lib/openjp2/opj_config.h.cmake.in
@@ -1,3 +1,6 @@
1
+#ifndef OPJ_CONFIG_H_INCLUDED
2
+#define OPJ_CONFIG_H_INCLUDED
3
4
/* create opj_config.h for CMake */
5
6
/*--------------------------------------------------------------------------*/
@@ -7,3 +10,5 @@
7
10
#define OPJ_VERSION_MAJOR @OPENJPEG_VERSION_MAJOR@
8
11
#define OPJ_VERSION_MINOR @OPENJPEG_VERSION_MINOR@
9
12
#define OPJ_VERSION_BUILD @OPENJPEG_VERSION_BUILD@
13
14
+#endif
0 commit comments