diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2014-11-15 15:06:24 +0100 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2014-11-15 15:06:24 +0100 |
commit | cd249a3bbc86391e014b7b6dbef74a532274a631 (patch) | |
tree | 9b6f58d44975850967e17312cd244f50a17bd084 /tests/x86check.c | |
parent | aea34d566bc40bdc37743c7db83c542cb1035173 (diff) | |
download | gmp-cd249a3bbc86391e014b7b6dbef74a532274a631.tar.gz |
Add extern "C" to unnamed struct.
Diffstat (limited to 'tests/x86check.c')
-rw-r--r-- | tests/x86check.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/x86check.c b/tests/x86check.c index 067c8155b..065dc7329 100644 --- a/tests/x86check.c +++ b/tests/x86check.c @@ -50,12 +50,18 @@ mp_limb_t calling_conventions_values[17] = /* values to check */ +#ifdef __cplusplus +extern "C" { +#endif struct { unsigned control; unsigned status; unsigned tag; unsigned other[4]; } calling_conventions_fenv; +#ifdef __cplusplus +} +#endif /* expected values, as per x86call.asm */ #define VALUE_EBX 0x01234567 |