00001 #ifndef CPPUNIT_CONFIG_SELECTDLLLOADER_H
00002 #define CPPUNIT_CONFIG_SELECTDLLLOADER_H
00003
00042 #if !defined(CPPUNIT_NO_TESTPLUGIN)
00043
00044
00045 #if defined(WIN32)
00046 #define CPPUNIT_HAVE_WIN32_DLL_LOADER 1
00047 #undef CPPUNIT_PLUGIN_EXPORT
00048 #define CPPUNIT_PLUGIN_EXPORT extern "C" __declspec(dllexport)
00049
00050
00051 #elif defined(CPPUNIT_HAVE_SHL_LOAD)
00052 #define CPPUNIT_HAVE_UNIX_SHL_LOADER 1
00053
00054
00055 #elif defined(CPPUNIT_HAVE_LIBDL)
00056 #define CPPUNIT_HAVE_UNIX_DLL_LOADER 1
00057
00058
00059 #else
00060 #define CPPUNIT_NO_TESTPLUGIN 1
00061 #endif
00062
00063 #if !defined(CPPUNIT_PLUGIN_EXPORT)
00064 #define CPPUNIT_PLUGIN_EXPORT extern "C"
00065 #endif // !defined(CPPUNIT_PLUGIN_EXPORT)
00066
00067 #endif // !defined(CPPUNIT_NO_TESTPLUGIN)
00068
00069 #endif // CPPUNIT_CONFIG_SELECTDLLLOADER_H