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