]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/endianity.c
[gdb/testsuite] Introduce supports_scalar_storage_order_attribute
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / endianity.c
index ef3b6d4fdb20b776e9686a32f33a49e3461ba431..15cbdd9a26555db8a642ced9550b8c8c565f3a80 100644 (file)
@@ -26,7 +26,7 @@ struct otherendian
   __complex__ float cplx;
   double d;
 }
-#if defined __GNUC__ && (__GNUC__ >= 6)
+#if TEST_SSO
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 __attribute__( ( scalar_storage_order( "big-endian" ) ) )
 #else