Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 219457 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +26 lines)
Line  Link Here
0
-- STLport-5.1.5.orig/stlport/stl/_cstdlib.h
0
++ STLport-5.1.5/stlport/stl/_cstdlib.h
Lines 16-27 Link Here
16
#ifndef _STLP_INTERNAL_CSTDLIB
16
#ifndef _STLP_INTERNAL_CSTDLIB
17
#define _STLP_INTERNAL_CSTDLIB
17
#define _STLP_INTERNAL_CSTDLIB
18
18
19
/* Work around inconsistent definition of _GLIBCXX_USE_C99 across arches; on
20
 * these arches std::llabs is therefore not available.
21
 *
22
 * See http://bugs.debian.org/443234
23
 */
24
#ifndef _GLIBCXX_USE_C99
25
#define _GLIBCXX_USE_C99 1
26
#define _HACK_CXX_USE_C99 1
27
#endif
28
19
#if defined (_STLP_USE_NEW_C_HEADERS)
29
#if defined (_STLP_USE_NEW_C_HEADERS)
20
#  include _STLP_NATIVE_CPP_C_HEADER(cstdlib)
30
#  include _STLP_NATIVE_CPP_C_HEADER(cstdlib)
21
#else
31
#else
22
#  include <stdlib.h>
32
#  include <stdlib.h>
23
#endif
33
#endif
24
34
35
#ifdef _HACK_CXX_USE_C99
36
#undef _GLIBCXX_USE_C99
37
#undef _HACK_CXX_USE_C99
38
#endif
39
25
#if defined (__BORLANDC__)
40
#if defined (__BORLANDC__)
26
/* Borland process.h header do not bring anything here and is just included
41
/* Borland process.h header do not bring anything here and is just included
27
 * in order to avoid inclusion later. This header cannot be included later
42
 * in order to avoid inclusion later. This header cannot be included later
28
-- STLport-5.1.5.orig/stlport/stl/_cmath.h
43
++ STLport-5.1.5/stlport/stl/_cmath.h
Lines 21-27 Link Here
21
 * so cstdlib has to be included first.
21
 * so cstdlib has to be included first.
22
 */
22
 */
23
#if defined (__GNUC__) && defined (_STLP_USE_NEW_C_HEADERS)
23
#if defined (__GNUC__) && defined (_STLP_USE_NEW_C_HEADERS)
24
/* See http://bugs.debian.org/443234 */
25
#  ifndef _GLIBCXX_USE_C99
26
#    define _GLIBCXX_USE_C99 1
27
#    define _HACK_CXX_USE_C99 1
28
#  endif
24
#  include _STLP_NATIVE_CPP_C_HEADER(cstdlib)
29
#  include _STLP_NATIVE_CPP_C_HEADER(cstdlib)
30
#  ifdef _HACK_CXX_USE_C99
31
#    undef _GLIBCXX_USE_C99
32
#    undef _HACK_CXX_USE_C99
33
#  endif
25
#endif
34
#endif
26
35
27
#if defined (_STLP_USE_NEW_C_HEADERS)
36
#if defined (_STLP_USE_NEW_C_HEADERS)

Return to bug 219457