Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
7400439c
Commit
7400439c
authored
Jul 03, 2012
by
Niels Möller
Browse files
Include malloc.h if available, also when compiling with gcc.
parent
41968605
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7400439c
2012-07-03 Niels Möller <nisse@lysator.liu.se>
* aclocal.m4 (LSH_FUNC_ALLOCA): In the config.h boilerplate,
include malloc.h if it exists, also when compiling with gcc.
Needed for cross-compiling with --host=i586-mingw32msvc.
* examples/base16dec.c: Don't #include files using <nettle/...>,
we don't want to pick up installed versions.
* examples/base16enc.c: Likewise.
...
...
aclocal.m4
View file @
7400439c
...
...
@@ -369,6 +369,11 @@ char *alloca ();
#else /* defined __GNUC__ */
# if HAVE_ALLOCA_H
# include <alloca.h>
# else
/* Needed for alloca on windows, also with gcc */
# if HAVE_MALLOC_H
# include <malloc.h>
# endif
# endif
#endif
])])
...
...
Write
Preview
Supports
Markdown
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