]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hashmap.h
applied Mandrake patch to expat, fixes compilation
[wxWidgets.git] / include / wx / hashmap.h
index 554030a5648722af119924918f820315b618f0ad..896cd12db0b54f63edf1572bd100532c381101c4 100644 (file)
 
 #include <stddef.h>             // for ptrdiff_t
 
+#ifdef __WXWINCE__
+typedef int ptrdiff_t;
+#endif
+
 // private
 struct WXDLLIMPEXP_BASE _wxHashTable_NodeBase
 {
@@ -571,7 +575,7 @@ public: \
 //     count on it)!
 #define WX_CLEAR_HASH_MAP(type, hashmap)                                     \
     {                                                                        \
-        type##::iterator it, en;                                             \
+        type::iterator it, en;                                               \
         for( it = (hashmap).begin(), en = (hashmap).end(); it != en; ++it )  \
             delete it->second;                                               \
         (hashmap).clear();                                                   \