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

Side by Side Diff: third_party/modp_b64/modp_b64_data.h

Issue 3044045: Add an #ifndef to modp_b64_data.h to avoid a typedef conflict that certain... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « third_party/modp_b64/README.chromium ('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 #include "build/build_config.h"
2 #if !defined(COMPILER_MSVC)
3 #include <stdint.h>
4 #else
5 // VC8 doesn't have stdint.h. On the other hand, some compilers don't like
6 // the below code, because basictypes.h itself includes stdint.h and the
7 // typedefs below can cause conflicts.
1 #include "base/basictypes.h" 8 #include "base/basictypes.h"
2 typedef uint8 uint8_t; 9 typedef uint8 uint8_t;
3 typedef uint32 uint32_t; 10 typedef uint32 uint32_t;
11 #endif
4 12
5 #define CHAR62 '+' 13 #define CHAR62 '+'
6 #define CHAR63 '/' 14 #define CHAR63 '/'
7 #define CHARPAD '=' 15 #define CHARPAD '='
8 static const char e0[256] = { 16 static const char e0[256] = {
9 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 17 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'C', 'C',
10 'C', 'C', 'D', 'D', 'D', 'D', 'E', 'E', 'E', 'E', 18 'C', 'C', 'D', 'D', 'D', 'D', 'E', 'E', 'E', 'E',
11 'F', 'F', 'F', 'F', 'G', 'G', 'G', 'G', 'H', 'H', 19 'F', 'F', 'F', 'F', 'G', 'G', 'G', 'G', 'H', 'H',
12 'H', 'H', 'I', 'I', 'I', 'I', 'J', 'J', 'J', 'J', 20 'H', 'H', 'I', 'I', 'I', 'I', 'J', 'J', 'J', 'J',
13 'K', 'K', 'K', 'K', 'L', 'L', 'L', 'L', 'M', 'M', 21 'K', 'K', 'K', 'K', 'L', 'L', 'L', 'L', 'M', 'M',
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 482 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff,
475 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 483 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff,
476 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 484 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff,
477 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 485 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff,
478 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 486 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff,
479 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff 487 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff
480 }; 488 };
481 489
482 490
483 #endif 491 #endif
OLDNEW
« no previous file with comments | « third_party/modp_b64/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698