--------------------- PatchSet 1007 Date: 2004/04/11 17:49:15 Author: serassio Branch: nt Tag: (none) Log: On MinGW NULL must be defined Members: lib/libTrie/include/Trie.h:1.1.2.2->1.1.2.3 lib/libTrie/include/TrieNode.h:1.1.2.2->1.1.2.3 Index: squid3/lib/libTrie/include/Trie.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/lib/libTrie/include/Trie.h,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/lib/libTrie/include/Trie.h 15 Jul 2003 18:38:04 -0000 1.1.2.2 +++ squid3/lib/libTrie/include/Trie.h 11 Apr 2004 17:49:15 -0000 1.1.2.3 @@ -45,6 +45,10 @@ /* C++ bindings */ #else +#ifndef NULL +#define NULL 0 +#endif + class TrieCharTransform; class TrieNode; Index: squid3/lib/libTrie/include/TrieNode.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/lib/libTrie/include/TrieNode.h,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/lib/libTrie/include/TrieNode.h 15 Jul 2003 18:38:04 -0000 1.1.2.2 +++ squid3/lib/libTrie/include/TrieNode.h 11 Apr 2004 17:49:15 -0000 1.1.2.3 @@ -39,6 +39,10 @@ #include #include +#ifndef NULL +#define NULL 0 +#endif + /* TODO: parameterize this to be more generic - * i.e. M-ary internal node sizes etc */