Line
Link Here
|
0 |
-- STLport-5.1.5.orig/stlport/stl/config/_gcc.h |
0 |
++ STLport-5.1.5/stlport/stl/config/_gcc.h |
Lines 459-461
Link Here
|
459 |
# define _STLP_STATIC_TEMPLATE_DATA 1 |
459 |
# define _STLP_STATIC_TEMPLATE_DATA 1 |
460 |
#endif |
460 |
#endif |
461 |
|
461 |
|
|
|
462 |
/* Ugly hack here ; we pull in GNU libc <bits/mathdef.h> to find out whether |
463 |
* this platform has `long double' type. It solves #356570. |
464 |
* |
465 |
* THIS IS BAD BECAUSE WE POLLUTE THE GLOBAL NAMESPACE. |
466 |
*/ |
467 |
#ifdef __GLIBC__ |
468 |
# if !defined(_MATH_H) |
469 |
# define _HACK_UNDEF_MATH_H |
470 |
# define _MATH_H |
471 |
# endif |
472 |
# include <bits/mathdef.h> |
473 |
# if defined(__NO_LONG_DOUBLE_MATH) |
474 |
# define _STLP_NO_LONG_DOUBLE |
475 |
# endif |
476 |
# if defined(_HACK_UNDEF_MATH_H) |
477 |
# undef _HACK_UNDEF_MATH_H |
478 |
# undef _MATH_H |
479 |
# endif |
480 |
#endif |
481 |
|