--------------------- PatchSet 863 Date: 2003/08/10 09:33:41 Author: serassio Branch: nt Tag: (none) Log: Allow test_tools.cc to build on MSVC++ Members: test-suite/test_tools.cc:1.1.2.3->1.1.2.4 Index: squid3/test-suite/test_tools.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/test-suite/test_tools.cc,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- squid3/test-suite/test_tools.cc 9 Jul 2003 17:19:25 -0000 1.1.2.3 +++ squid3/test-suite/test_tools.cc 10 Aug 2003 09:33:41 -0000 1.1.2.4 @@ -1,6 +1,6 @@ /* - * $Id: test_tools.cc,v 1.1.2.3 2003/07/09 17:19:25 serassio Exp $ + * $Id: test_tools.cc,v 1.1.2.4 2003/08/10 09:33:41 serassio Exp $ * * AUTHOR: Robert Collins * @@ -38,6 +38,12 @@ #include #include +#if defined(_MSC_VER) /* Microsoft C Compiler ONLY */ +namespace std { +const fpos_t _Fpz = {0}; +} +#endif + void xassert(const char *msg, const char *file, int line) { @@ -136,4 +142,4 @@ CurrentDebug = NULL; } -std::ostringstream *Debug::CurrentDebug (NULL); +std::ostringstream (*Debug::CurrentDebug)(NULL);