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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-private.hh

Issue 503073002: roll harfbuzz 0d2c2f238bf0a847ecd55a70cc0f081f18a053ac:d457e3f0ff9b27616a34e4cc110d3edbf8796841 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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/harfbuzz-ng/src/hb-ot-shape-complex-arabic-win1256.hh ('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 * Copyright © 2007,2008,2009 Red Hat, Inc. 2 * Copyright © 2007,2008,2009 Red Hat, Inc.
3 * Copyright © 2011,2012 Google, Inc. 3 * Copyright © 2011,2012 Google, Inc.
4 * 4 *
5 * This is part of HarfBuzz, a text shaping library. 5 * This is part of HarfBuzz, a text shaping library.
6 * 6 *
7 * Permission is hereby granted, without written agreement and without 7 * Permission is hereby granted, without written agreement and without
8 * license or royalty fees, to use, copy, modify, and distribute this 8 * license or royalty fees, to use, copy, modify, and distribute this
9 * software and its documentation for any purpose, provided that the 9 * software and its documentation for any purpose, provided that the
10 * above copyright notice and the following two paragraphs appear in 10 * above copyright notice and the following two paragraphs appear in
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 /* We need Windows Vista for both Uniscribe backend and for 122 /* We need Windows Vista for both Uniscribe backend and for
123 * MemoryBarrier. We don't support compiling on Windows XP, 123 * MemoryBarrier. We don't support compiling on Windows XP,
124 * though we run on it fine. */ 124 * though we run on it fine. */
125 # if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600 125 # if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600
126 # undef _WIN32_WINNT 126 # undef _WIN32_WINNT
127 # endif 127 # endif
128 # ifndef _WIN32_WINNT 128 # ifndef _WIN32_WINNT
129 # define _WIN32_WINNT 0x0600 129 # define _WIN32_WINNT 0x0600
130 # endif 130 # endif
131 # ifndef WIN32_LEAN_AND_MEAN 131 # ifndef WIN32_LEAN_AND_MEAN
132 # define WIN32_LEAN_AND_MEAN 132 # define WIN32_LEAN_AND_MEAN 1
133 # endif 133 # endif
134 # ifndef STRICT 134 # ifndef STRICT
135 # define STRICT 135 # define STRICT 1
136 # endif 136 # endif
137 #endif 137 #endif
138 138
139 #ifdef _WIN32_WCE 139 #ifdef _WIN32_WCE
140 /* Some things not defined on Windows CE. */ 140 /* Some things not defined on Windows CE. */
141 #define MemoryBarrier() 141 #define MemoryBarrier()
142 #define getenv(Name) NULL 142 #define getenv(Name) NULL
143 #define setlocale(Category, Locale) "C" 143 #define setlocale(Category, Locale) "C"
144 static int errno = 0; /* Use something better? */ 144 static int errno = 0; /* Use something better? */
145 #endif 145 #endif
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 hb_options (void) 970 hb_options (void)
971 { 971 {
972 if (unlikely (!_hb_options.i)) 972 if (unlikely (!_hb_options.i))
973 _hb_options_init (); 973 _hb_options_init ();
974 974
975 return _hb_options.opts; 975 return _hb_options.opts;
976 } 976 }
977 977
978 978
979 #endif /* HB_PRIVATE_HH */ 979 #endif /* HB_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-win1256.hh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698