summaryrefslogtreecommitdiff
blob: 93cfbf33474791b8c523eb52ddee18502c791f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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