Index: libbase/container.cpp =================================================================== RCS file: /sources/gnash/gnash/libbase/container.cpp,v retrieving revision 1.12 retrieving revision 1.11 diff -u -r1.12 -r1.11 --- libbase/container.cpp 17 Sep 2006 19:45:59 -0000 1.12 +++ libbase/container.cpp 14 Sep 2006 05:02:11 -0000 1.11 @@ -17,6 +17,12 @@ #include "utf8.h" #include "tu_random.h" +#ifdef HAVE_STRCASECMP +# define STRCASECMP strcasecmp +#else +# define STRCASECMP _stricmp +#endif + void tu_string::append_wide_char(uint16 c) { char buf[8]; Index: libbase/container.h =================================================================== RCS file: /sources/gnash/gnash/libbase/container.h,v retrieving revision 1.12 retrieving revision 1.11 diff -u -r1.12 -r1.11 --- libbase/container.h 30 Mar 2006 01:52:00 -0000 1.12 +++ libbase/container.h 9 Mar 2006 19:29:06 -0000 1.11 @@ -85,7 +85,7 @@ public: size_t operator()(const T& data) const { - const unsigned char* p = (const unsigned char*) &data; + unsigned char* p = (unsigned char*) &data; int size = sizeof(T); return sdbm_hash(p, size); @@ -251,7 +251,7 @@ /// \brief /// If you need a const tu_stringi, don't create a new object; /// these things have the same internal representation. - const tu_stringi& to_tu_stringi() const { return *(const tu_stringi*) this; } + const tu_stringi& to_tu_stringi() const { return *(tu_stringi*) this; } /// \brief /// operator= returns void; if you want to know why, ask Charles Bloom :)