comparison nss/lib/freebl/mpi/mpi-config.h @ 0:1e5118fa0cb1

This is NSS with a Cmake Buildsyste To compile a static NSS library for Windows we've used the Chromium-NSS fork and added a Cmake buildsystem to compile it statically for Windows. See README.chromium for chromium changes and README.trustbridge for our modifications.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 28 Jul 2014 10:47:06 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e5118fa0cb1
1 /* Default configuration for MPI library
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 #ifndef MPI_CONFIG_H_
8 #define MPI_CONFIG_H_
9
10 /*
11 For boolean options,
12 0 = no
13 1 = yes
14
15 Other options are documented individually.
16
17 */
18
19 #ifndef MP_IOFUNC
20 #define MP_IOFUNC 0 /* include mp_print() ? */
21 #endif
22
23 #ifndef MP_MODARITH
24 #define MP_MODARITH 1 /* include modular arithmetic ? */
25 #endif
26
27 #ifndef MP_NUMTH
28 #define MP_NUMTH 1 /* include number theoretic functions? */
29 #endif
30
31 #ifndef MP_LOGTAB
32 #define MP_LOGTAB 1 /* use table of logs instead of log()? */
33 #endif
34
35 #ifndef MP_MEMSET
36 #define MP_MEMSET 1 /* use memset() to zero buffers? */
37 #endif
38
39 #ifndef MP_MEMCPY
40 #define MP_MEMCPY 1 /* use memcpy() to copy buffers? */
41 #endif
42
43 #ifndef MP_CRYPTO
44 #define MP_CRYPTO 1 /* erase memory on free? */
45 #endif
46
47 #ifndef MP_ARGCHK
48 /*
49 0 = no parameter checks
50 1 = runtime checks, continue execution and return an error to caller
51 2 = assertions; dump core on parameter errors
52 */
53 #ifdef DEBUG
54 #define MP_ARGCHK 2 /* how to check input arguments */
55 #else
56 #define MP_ARGCHK 1 /* how to check input arguments */
57 #endif
58 #endif
59
60 #ifndef MP_DEBUG
61 #define MP_DEBUG 0 /* print diagnostic output? */
62 #endif
63
64 #ifndef MP_DEFPREC
65 #define MP_DEFPREC 64 /* default precision, in digits */
66 #endif
67
68 #ifndef MP_MACRO
69 #define MP_MACRO 1 /* use macros for frequent calls? */
70 #endif
71
72 #ifndef MP_SQUARE
73 #define MP_SQUARE 1 /* use separate squaring code? */
74 #endif
75
76 #endif /* ifndef MPI_CONFIG_H_ */
77
78
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)