summaryrefslogtreecommitdiff
path: root/third_party/libopenjpeg20/opj_config.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-18 17:05:27 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-18 17:05:27 -0700
commite295819e5ded76e405b6d5800401cb5983b4ce10 (patch)
tree64f28bd7e305081576c5509cdef42126561467c4 /third_party/libopenjpeg20/opj_config.h
parentaa23c864b84d99f23a82ee8da852e575db981c07 (diff)
downloadpdfium-e295819e5ded76e405b6d5800401cb5983b4ce10.tar.xz
Move libopenjpeg to third_party/
We get to delete a whole bunch of fx_foo.c files that did nothing but #include "foo.c" after defining _CRT_SECURE_NO_WARNINGS. Do this from the .gyp/.gn files instead. Also sort some "config"s in .gn file. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/c7a17bf9cdb0d646aa8b653e6ab2678a1837ed6a Review URL: https://codereview.chromium.org/1185373010.
Diffstat (limited to 'third_party/libopenjpeg20/opj_config.h')
-rw-r--r--third_party/libopenjpeg20/opj_config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/libopenjpeg20/opj_config.h b/third_party/libopenjpeg20/opj_config.h
new file mode 100644
index 0000000000..37bc9ba3c3
--- /dev/null
+++ b/third_party/libopenjpeg20/opj_config.h
@@ -0,0 +1,16 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+/* create opj_config.h for CMake */
+#define OPJ_HAVE_STDINT_H 1
+
+/*--------------------------------------------------------------------------*/
+/* OpenJPEG Versioning */
+
+/* Version number. */
+#define OPJ_VERSION_MAJOR 2
+#define OPJ_VERSION_MINOR 1
+#define OPJ_VERSION_BUILD 0