Have g++ define _FILE_OFFSET_BITS=64 on Solaris

* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define
	_FILE_OFFSET_BITS=64 for C++.

From-SVN: r261879
This commit is contained in:
Rainer Orth 2018-06-22 06:16:00 +00:00 committed by Rainer Orth
parent 89de39a98f
commit a634048e19
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-06-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define
_FILE_OFFSET_BITS=64 for C++.
2018-06-21 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/rs6000.md (extendtfif2): Add missing 128-bit

View File

@ -113,6 +113,7 @@ along with GCC; see the file COPYING3. If not see
builtin_define ("_XOPEN_SOURCE=600"); \
builtin_define ("_LARGEFILE_SOURCE=1"); \
builtin_define ("_LARGEFILE64_SOURCE=1"); \
builtin_define ("_FILE_OFFSET_BITS=64"); \
builtin_define ("__EXTENSIONS__"); \
} \
TARGET_SUB_OS_CPP_BUILTINS(); \