diff options
Diffstat (limited to 'libstdc++-v3/include/std/std_fstream.h')
-rw-r--r-- | libstdc++-v3/include/std/std_fstream.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/include/std/std_fstream.h b/libstdc++-v3/include/std/std_fstream.h index ed119d4c8ea..6993042eb60 100644 --- a/libstdc++-v3/include/std/std_fstream.h +++ b/libstdc++-v3/include/std/std_fstream.h @@ -414,7 +414,8 @@ namespace std typedef basic_istream<char_type, traits_type> __istream_type; private: - __filebuf_type _M_filebuf; + /* APPLE LOCAL work with -malign-natural. */ + __filebuf_type _M_filebuf __attribute((aligned(8))); public: // Constructors/Destructors: @@ -538,7 +539,8 @@ namespace std typedef basic_ostream<char_type, traits_type> __ostream_type; private: - __filebuf_type _M_filebuf; + /* APPLE LOCAL work with -malign-natural. */ + __filebuf_type _M_filebuf __attribute__((aligned(8))); public: // Constructors: |