From cb89fe1244aee89972eec2122c538a740065e72b Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 2 May 2009 14:20:40 +0000 Subject: [PATCH] * removed codewarrior-specific compatibility cruft git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30567 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/locale/DefaultCatalog.h | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/headers/os/locale/DefaultCatalog.h b/headers/os/locale/DefaultCatalog.h index 82b239c8e3..1b500b4328 100644 --- a/headers/os/locale/DefaultCatalog.h +++ b/headers/os/locale/DefaultCatalog.h @@ -1,14 +1,10 @@ #ifndef _DEFAULT_CATALOG_H_ #define _DEFAULT_CATALOG_H_ -#ifdef __MWERKS__ -# include -#else -# if __GNUC__ > 2 +#if __GNUC__ > 2 # include -# else +#else # include -# endif #endif #include @@ -23,17 +19,6 @@ namespace BPrivate { struct CatKey; } -/* - * the hash-access functor which is being used to access the hash-value - * stored inside of each key. - */ -#ifdef __MWERKS__ - // Codewarrior doesn't provide this declaration, so we do: -template struct hash : public unary_function { - size_t operator() (const T &key) const; -}; -#endif - #if __GNUC__ > 2 namespace __gnu_cxx { #endif // __GNUC__ > 2