make possible to build with c++0x
This commit is contained in:
parent
02b091434c
commit
2b53e0dd07
2 changed files with 21 additions and 1 deletions
17
stlport/STLport-4.5-cxx0x.patch
Normal file
17
stlport/STLport-4.5-cxx0x.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- misc/STLport-4.5/stlport/config/stl_gcc.h
|
||||
+++ misc/build/STLport-4.5/stlport/config/stl_gcc.h
|
||||
@@ -239,10 +239,10 @@
|
||||
|
||||
|
||||
/* strict ANSI prohibits "long long" ( gcc) */
|
||||
-# if defined ( __STRICT_ANSI__ )
|
||||
-# undef _STLP_LONG_LONG
|
||||
-// # define _STLP_STRICT_ANSI 1
|
||||
-# endif
|
||||
+//# if defined ( __STRICT_ANSI__ )
|
||||
+//# undef _STLP_LONG_LONG
|
||||
+//// # define _STLP_STRICT_ANSI 1
|
||||
+//# endif
|
||||
|
||||
//# if !defined (__STRICT_ANSI__) || defined (__BUILDING_STLPORT)
|
||||
//# define _STLP_USE_TEMPLATE_EXPORT
|
|
@ -63,7 +63,10 @@ $(INCCOM)$/stlport$/vector: systemstl$/$$(@:f)
|
|||
.IF "$(COMID)"=="gcc3"
|
||||
TARFILE_NAME=STLport-4.5
|
||||
TARFILE_MD5=18f577b374d60b3c760a3a3350407632
|
||||
PATCH_FILES=STLport-4.5.patch STLport-4.5-gcc43_warnings.patch
|
||||
PATCH_FILES=\
|
||||
STLport-4.5.patch \
|
||||
STLport-4.5-gcc43_warnings.patch \
|
||||
STLport-4.5-cxx0x.patch
|
||||
.ELIF "$(GUI)"=="WNT"
|
||||
.IF "$(CCNUMVER)"<="001300000000"
|
||||
TARFILE_NAME=STLport-4.0
|
||||
|
|
Loading…
Reference in a new issue