Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
882b1bc1
Commit
882b1bc1
authored
Mar 30, 2015
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved definition of GMP_NUMB_BITS (for mini-gmp) from bignum.h to version.h.in.
parent
19b9de6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
ChangeLog
ChangeLog
+4
-0
bignum.h
bignum.h
+0
-3
version.h.in
version.h.in
+6
-0
No files found.
ChangeLog
View file @
882b1bc1
2015-03-30 Niels Möller <nisse@diamant.hack.org>
* version.h.in (GMP_NUMB_BITS) [NETTLE_USE_MINI_GMP]: Move
definition here (uses configure substitution).
* bignum.h (GMP_NUMB_BITS): ...old location.
* nettle.texinfo: Updated version number.
(Installation): Document some more configure options.
...
...
bignum.h
View file @
882b1bc1
...
...
@@ -44,9 +44,6 @@
#if NETTLE_USE_MINI_GMP
# include "mini-gmp.h"
/* We need a preprocessor constant for GMP_NUMB_BITS, simply using
sizeof(mp_limb_t) * CHAR_BIT is not good enough. */
# define GMP_NUMB_BITS @GMP_NUMB_BITS@
# define GMP_NUMB_MASK (~(mp_limb_t) 0)
/* Functions missing in older gmp versions, and checked for with ifdef */
...
...
version.h.in
View file @
882b1bc1
...
...
@@ -44,6 +44,12 @@ extern "C" {
#define NETTLE_USE_MINI_GMP @NETTLE_USE_MINI_GMP@
/* We need a preprocessor constant for GMP_NUMB_BITS, simply using
sizeof(mp_limb_t) * CHAR_BIT is not good enough. */
#if NETTLE_USE_MINI_GMP
# define GMP_NUMB_BITS @GMP_NUMB_BITS@
#endif
#ifdef __cplusplus
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment