diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /fixincludes/tests/base/bits | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'fixincludes/tests/base/bits')
-rw-r--r-- | fixincludes/tests/base/bits/huge_val.h | 27 | ||||
-rw-r--r-- | fixincludes/tests/base/bits/string2.h | 23 |
2 files changed, 50 insertions, 0 deletions
diff --git a/fixincludes/tests/base/bits/huge_val.h b/fixincludes/tests/base/bits/huge_val.h new file mode 100644 index 000000000..f8bb0495b --- /dev/null +++ b/fixincludes/tests/base/bits/huge_val.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/bits/huge_val.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HUGE_VAL_HEX_CHECK ) +#define HUGE_VAL (__builtin_huge_val()) + +#endif /* HUGE_VAL_HEX_CHECK */ + + +#if defined( HUGE_VALF_HEX_CHECK ) +#define HUGE_VALF (__builtin_huge_valf()) + +#endif /* HUGE_VALF_HEX_CHECK */ + + +#if defined( HUGE_VALL_HEX_CHECK ) +#define HUGE_VALL (__builtin_huge_vall()) + +#endif /* HUGE_VALL_HEX_CHECK */ diff --git a/fixincludes/tests/base/bits/string2.h b/fixincludes/tests/base/bits/string2.h new file mode 100644 index 000000000..be6fe601a --- /dev/null +++ b/fixincludes/tests/base/bits/string2.h @@ -0,0 +1,23 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/bits/string2.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( GLIBC_C99_INLINE_3_CHECK ) +# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__) +# define __STRING_INLINE inline +# else +# define __STRING_INLINE extern __inline +# endif +#endif /* GLIBC_C99_INLINE_3_CHECK */ + + +#if defined( GLIBC_STRNCPY_CHECK ) +# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) +#endif /* GLIBC_STRNCPY_CHECK */ |