Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/libopenjpeg20/opj_includes.h

Issue 1810373002: openjpeg: Remove unneeded non-standard code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: forgot patch Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libopenjpeg20/README.pdfium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * The copyright in this software is being made available under the 2-clauses 2 * The copyright in this software is being made available under the 2-clauses
3 * BSD License, included below. This software may be subject to other third 3 * BSD License, included below. This software may be subject to other third
4 * party and contributor rights, including patent rights, and no such rights 4 * party and contributor rights, including patent rights, and no such rights
5 * are granted under this license. 5 * are granted under this license.
6 * 6 *
7 * Copyright (c) 2005, Herve Drolon, FreeImage Team 7 * Copyright (c) 2005, Herve Drolon, FreeImage Team
8 * Copyright (c) 2008, 2011-2012, Centre National d'Etudes Spatiales (CNES), FR 8 * Copyright (c) 2008, 2011-2012, Centre National d'Etudes Spatiales (CNES), FR
9 * Copyright (c) 2012, CS Systemes d'Information, France 9 * Copyright (c) 2012, CS Systemes d'Information, France
10 * All rights reserved. 10 * All rights reserved.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ========================================================== 95 ==========================================================
96 */ 96 */
97 #include "openjpeg.h" 97 #include "openjpeg.h"
98 98
99 /* 99 /*
100 ========================================================== 100 ==========================================================
101 OpenJPEG modules 101 OpenJPEG modules
102 ========================================================== 102 ==========================================================
103 */ 103 */
104 104
105 /* Ignore GCC attributes if this is not GCC */
106 #ifndef __GNUC__
107 #define __attribute__(x) /* __attribute__(x) */
108 #endif
109
110
111 /* Are restricted pointers available? (C99) */ 105 /* Are restricted pointers available? (C99) */
112 #if (__STDC_VERSION__ != 199901L) 106 #if (__STDC_VERSION__ != 199901L)
113 /* Not a C99 compiler */ 107 /* Not a C99 compiler */
114 #ifdef __GNUC__ 108 #ifdef __GNUC__
115 #define restrict __restrict__ 109 #define restrict __restrict__
116 #else 110 #else
117 #define restrict /* restrict */ 111 #define restrict /* restrict */
118 #endif 112 #endif
119 #endif 113 #endif
120 114
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 #ifdef USE_JPWL 201 #ifdef USE_JPWL
208 #include "openjpwl/jpwl.h" 202 #include "openjpwl/jpwl.h"
209 #endif /* USE_JPWL */ 203 #endif /* USE_JPWL */
210 /* <<JPWL */ 204 /* <<JPWL */
211 205
212 /* V2 */ 206 /* V2 */
213 #include "opj_codec.h" 207 #include "opj_codec.h"
214 208
215 209
216 #endif /* OPJ_INCLUDES_H */ 210 #endif /* OPJ_INCLUDES_H */
OLDNEW
« no previous file with comments | « third_party/libopenjpeg20/README.pdfium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698