Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++
isn't broken, PR: 104425
This commit is contained in:
parent
ef1f86587e
commit
d36e6277cb
@ -80,6 +80,8 @@ typedef __uint16_t fexcept_t;
|
||||
#define _SSE_ROUND_SHIFT 3
|
||||
#define _SSE_EMASK_SHIFT 7
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* After testing for SSE support once, we cache the result in __has_sse. */
|
||||
enum __sse_support { __SSE_YES, __SSE_NO, __SSE_UNK };
|
||||
extern enum __sse_support __has_sse;
|
||||
@ -91,8 +93,6 @@ int __test_sse(void);
|
||||
(__has_sse == __SSE_UNK && __test_sse()))
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* Default floating-point environment */
|
||||
extern const fenv_t __fe_dfl_env;
|
||||
#define FE_DFL_ENV (&__fe_dfl_env)
|
||||
|
Loading…
x
Reference in New Issue
Block a user