diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-03-30 22:34:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-03-30 22:34:55 +0000 |
commit | 8955c80a1cc754999cfa93d03c04307281e6136f (patch) | |
tree | ad346d0e1a6a29f4ca3ea6a450e50c5896ed8047 /libgo/Makefile.in | |
parent | 25a182be4fb67d8d972a8f8789f1557cc1a945e0 (diff) | |
download | gcc-8955c80a1cc754999cfa93d03c04307281e6136f.zip gcc-8955c80a1cc754999cfa93d03c04307281e6136f.tar.gz gcc-8955c80a1cc754999cfa93d03c04307281e6136f.tar.bz2 |
libgo: Support systems which do not have strerror_r.
From-SVN: r171757
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r-- | libgo/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in index f605f9c..5797fad 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -1638,13 +1638,14 @@ go_testing_script_files = \ # Define Sleep. @LIBGO_IS_RTEMS_TRUE@syscall_sleep_file = syscalls/sleep_rtems.go -@LIBGO_IS_RTEMS_FALSE@syscall_errstr_file = syscalls/errstr.go +@HAVE_STRERROR_R_FALSE@@LIBGO_IS_RTEMS_FALSE@syscall_errstr_file = syscalls/errstr_nor.go +@HAVE_STRERROR_R_TRUE@@LIBGO_IS_RTEMS_FALSE@syscall_errstr_file = syscalls/errstr.go # Define Errstr. @LIBGO_IS_RTEMS_TRUE@syscall_errstr_file = syscalls/errstr_rtems.go # On other systems we hope strerror_r is just strerror_r. @LIBGO_IS_LINUX_FALSE@@LIBGO_IS_RTEMS_FALSE@syscall_errstr_decl_file = syscalls/errstr_decl.go -# In Linux the POSIX strerror_r is called __xpg_strerror_r. +# On GNU/Linux the POSIX strerror_r is called __xpg_strerror_r. @LIBGO_IS_LINUX_TRUE@@LIBGO_IS_RTEMS_FALSE@syscall_errstr_decl_file = syscalls/errstr_decl_linux.go # Declare libc_strerror_r which is the Go name for strerror_r. |