diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2009-11-24 09:53:17 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2009-11-24 09:53:17 +0000 |
| commit | 6e787c94c54bc4d49794c6284306873090428aeb (patch) | |
| tree | 87cc6a3eeb1b4fdaddcaec30c6a6ddc76a105fc5 /include/cppunit/config | |
| parent | 01c095d4eba446240fb8b01de1e7cfad0502a46e (diff) | |
| download | cppunit-6e787c94c54bc4d49794c6284306873090428aeb.tar.gz | |
Include/cppunit/portability/config-msvc6.
include/cppunit/portability/config-msvc6.h:
* include/cppunit/portability/Portability.h: Added macro
CPPUNIT_UNIQUE_COUNTER on MSVS 7.0+ using __COUNTER__ to
fix bug #2031696.
Diffstat (limited to 'include/cppunit/config')
| -rw-r--r-- | include/cppunit/config/config-msvc6.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cppunit/config/config-msvc6.h b/include/cppunit/config/config-msvc6.h index d688171..54bce82 100644 --- a/include/cppunit/config/config-msvc6.h +++ b/include/cppunit/config/config-msvc6.h @@ -78,6 +78,9 @@ //#define CPPUNIT_NO_NAMESPACE 1 */ +#if _MSC_VER >= 1300 // VS 7.0 +#define CPPUNIT_UNIQUE_COUNTER __COUNTER__ +#endif // if _MSC_VER >= 1300 // VS 7.0 /* _INCLUDE_CPPUNIT_CONFIG_MSVC6_H */ #endif |
