Commit 2b7b2fb3 authored by David Cole's avatar David Cole Committed by Code Review

Merge topic 'fix-hdf5-try-compile' into master

65c686a8 BUG: Add missing header files to enable try_run tests to run without crashing
parents 232953d2 65c686a8
......@@ -62,6 +62,10 @@ int main(void)
#endif
#ifdef H5_LDOUBLE_TO_INTEGER_WORKS_TEST
#include <stdlib.h>
#include <string.h>
int main(void)
{
void *align;
......@@ -80,7 +84,7 @@ int main(void)
v2 = (short) (*((long double*) align));
v3 = (unsigned int) (*((long double*) align));
done: exit(ret);
exit(ret);
}
#endif
......@@ -248,7 +252,8 @@ main ()
#ifdef H5_ULLONG_TO_LDOUBLE_PRECISION_TEST
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment