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

Side by Side Diff: crypto/third_party/nss/chromium-prtypes.h

Issue 209343003: Remove prtypes.h and prcpucfg*.h from base/third_party/nspr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Move chromium-blapi*h to NaCl HMAC sources Created 6 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Defines the types and macros from prtypes.h needed by sha512.cc.
6
7 #ifndef CRYPTO_THIRD_PARTY_NSS_CHROMIUM_PRTYPES_H_
8 #define CRYPTO_THIRD_PARTY_NSS_CHROMIUM_PRTYPES_H_
9
10 #include <limits.h>
11 #include <stdint.h>
12
13 #include "build/build_config.h"
14
15 #if defined(ARCH_CPU_LITTLE_ENDIAN)
16 #define IS_LITTLE_ENDIAN 1
17 #else
18 #define IS_BIG_ENDIAN 1
19 #endif
20
21 #if LONG_MAX > INT_MAX
22 #define PR_BYTES_PER_LONG 8
23 #else
24 #define PR_BYTES_PER_LONG 4
25 #endif
Ryan Sleevi 2014/03/24 19:14:10 This one needs a bit more justification/explanatio
Mark Mentovai 2014/03/24 20:11:25 Ryan Sleevi wrote:
wtc 2014/03/24 21:55:11 Done.
26
27 #define HAVE_LONG_LONG
28
29 #if defined(__linux__)
30 #define LINUX
31 #endif
32
33 typedef uint8_t PRUint8;
34 typedef uint32_t PRUint32;
35
36 typedef int PRBool;
37
38 #define PR_MIN(x,y) ((x)<(y)?(x):(y))
39
40 #endif // CRYPTO_THIRD_PARTY_NSS_CHROMIUM_PRTYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698