diff options
Diffstat (limited to 'dev-libs/STLport/files/STLport-5.1.5-alpha.patch')
-rw-r--r-- | dev-libs/STLport/files/STLport-5.1.5-alpha.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/STLport/files/STLport-5.1.5-alpha.patch b/dev-libs/STLport/files/STLport-5.1.5-alpha.patch new file mode 100644 index 000000000000..93cfbf334747 --- /dev/null +++ b/dev-libs/STLport/files/STLport-5.1.5-alpha.patch @@ -0,0 +1,21 @@ +--- stlport5.1.orig/stlport/stl/_cwchar.h ++++ stlport5.1/stlport/stl/_cwchar.h +@@ -105,18 +105,6 @@ + # define WCHAR_MAX ((wchar_t)~0) + # endif + # endif +-# if defined (__GNUC__) && defined (__alpha__) +-/* Definition of WCHAR_MIN and MAX are wrong for alpha platform +- * as gcc consider wchar_t as an unsigned type. Static assertion are +- * here to check that a future alpha SDK or a future gcc won't change the +- * situation making this workaround useless. +- */ +-_STLP_STATIC_ASSERT(((wchar_t)-1 > 0) && (WCHAR_MIN < 0)) +-# undef WCHAR_MIN +-# define WCHAR_MIN 0 +-# undef WCHAR_MAX +-# define WCHAR_MAX ((wchar_t)~0) +-# endif + # if defined(__HP_aCC) && (__HP_aCC >= 60000) + /* Starting with B.11.31, HP-UX/ia64 provides C99-compliant definitions + * of WCHAR_MIN/MAX macros without having to define |