Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 656104
Collapse All | Expand All

(-)a/configure.ac (-1 / +1 lines)
Lines 91-97 AM_CONDITIONAL([HOST_CPU_IS_INTEL], [test "x$HOSTARCH" = "xintel"]) Link Here
91
AC_MSG_CHECKING([if .gnu.warning accepts long strings])
91
AC_MSG_CHECKING([if .gnu.warning accepts long strings])
92
AC_LINK_IFELSE([AC_LANG_SOURCE([[
92
AC_LINK_IFELSE([AC_LANG_SOURCE([[
93
extern void SSLv3_method();
93
extern void SSLv3_method();
94
__asm__(".section .gnu.warning.SSLv3_method; .ascii \"SSLv3_method is insecure\" ; .text");
94
__asm__(".section .gnu.warning.SSLv3_method\n\t.ascii \"SSLv3_method is insecure\"\n\t.text");
95
int main() {return 0;}
95
int main() {return 0;}
96
]])], [
96
]])], [
97
    AC_DEFINE(HAS_GNU_WARNING_LONG, 1, [Define if .gnu.warning accepts long strings.])
97
    AC_DEFINE(HAS_GNU_WARNING_LONG, 1, [Define if .gnu.warning accepts long strings.])
(-)a/include/compat/sys/types.h (-2 / +1 lines)
Lines 62-68 typedef SSIZE_T ssize_t; Link Here
62
#if defined(__GNUC__)  && defined (HAS_GNU_WARNING_LONG)
62
#if defined(__GNUC__)  && defined (HAS_GNU_WARNING_LONG)
63
#define __warn_references(sym,msg)          \
63
#define __warn_references(sym,msg)          \
64
  __asm__(".section .gnu.warning." __STRING(sym)  \
64
  __asm__(".section .gnu.warning." __STRING(sym)  \
65
         " ; .ascii \"" msg "\" ; .text");
65
         "\n\t.ascii \"" msg "\"\n\t.text");
66
#else
66
#else
67
#define __warn_references(sym,msg)
67
#define __warn_references(sym,msg)
68
#endif
68
#endif
69
- 

Return to bug 656104