View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (+20 lines)
 Lines 459-461    Link Here 
#  define _STLP_STATIC_TEMPLATE_DATA 1
#  define _STLP_STATIC_TEMPLATE_DATA 1
#endif
#endif
/* Ugly hack here ; we pull in GNU libc <bits/mathdef.h> to find out whether
 * this platform has `long double' type.  It solves #356570.
 *
 * THIS IS BAD BECAUSE WE POLLUTE THE GLOBAL NAMESPACE.
 */
#ifdef __GLIBC__
#  if !defined(_MATH_H)
#    define _HACK_UNDEF_MATH_H
#    define _MATH_H
#  endif
#  include <bits/mathdef.h>
#  if defined(__NO_LONG_DOUBLE_MATH)
#    define _STLP_NO_LONG_DOUBLE
#  endif
#  if defined(_HACK_UNDEF_MATH_H)
#    undef _HACK_UNDEF_MATH_H
#    undef _MATH_H
#  endif
#endif