]> git.pld-linux.org Git - packages/STLport.git/blob - STLport-gcc3.patch
5305c1751ccf570e8eb204aad6a536a247188af0
[packages/STLport.git] / STLport-gcc3.patch
1 --- STLport-4.5.3/stlport/config/stl_gcc.h.orig Sun May 11 22:22:12 2003
2 +++ STLport-4.5.3/stlport/config/stl_gcc.h      Sun May 11 23:05:46 2003
3 @@ -250,8 +250,22 @@
4  
5  # if (__GNUC__ >= 3)
6  
7 -#  define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
8 -#  define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward
9 +#  if (__GNUC_MINOR__ >= 2)
10 +
11 +#   define tmp_concat6(s,t,u,w,x,y)    tmp_concat6_(s,t,u,w,x,y)
12 +#   define tmp_concat6_(s,t,u,w,x,y)   s##t##u##w##x##y
13 +#   define tmp_concat7(s,t,u,w,x,y,z)  tmp_concat7_(s,t,u,w,x,y,z)
14 +#   define tmp_concat7_(s,t,u,w,x,y,z) s##t##u##w##x##y##z
15 +
16 +#   define _STLP_NATIVE_INCLUDE_PATH tmp_concat6(/usr/include/c++/,__GNUC__,.,__GNUC_MINOR__,.,__GNUC_PATCHLEVEL__)
17 +#   define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH tmp_concat7(../c++/,__GNUC__,.,__GNUC_MINOR__,.,__GNUC_PATCHLEVEL__,/backward)
18 +
19 +#  else
20 +
21 +#   define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
22 +#   define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward
23 +
24 +#  endif
25  
26  # elif (__GNUC_MINOR__ < 8)
27  
This page took 0.03539 seconds and 2 git commands to generate.