Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6640 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -41,7 +41,11 @@
|
||||
|
||||
// CPPUNIT_API is defined in <config_msvc6.h> if required (building or using as dll)
|
||||
#ifndef CPPUNIT_API
|
||||
#define CPPUNIT_API
|
||||
# ifdef BUILDING_CPPUNIT
|
||||
# define CPPUNIT_API _EXPORT
|
||||
# else
|
||||
# define CPPUNIT_API _IMPORT
|
||||
# endif
|
||||
#undef CPPUNIT_NEED_DLL_DECL
|
||||
#define CPPUNIT_NEED_DLL_DECL 0
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user