SelectDllLoader.h
Go to the documentation of this file.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_SHL_LOAD)
00059
#define CPPUNIT_HAVE_UNIX_SHL_LOADER 1
00060
00061
00062
#elif defined(CPPUNIT_HAVE_LIBDL)
00063
#define CPPUNIT_HAVE_UNIX_DLL_LOADER 1
00064
00065
00066
#else
00067 #define CPPUNIT_NO_TESTPLUGIN 1
00068
#endif
00069
00070
#if !defined(CPPUNIT_PLUGIN_EXPORT)
00071 #define CPPUNIT_PLUGIN_EXPORT extern "C"
00072
#endif // !defined(CPPUNIT_PLUGIN_EXPORT)
00073
00074
#endif // !defined(CPPUNIT_NO_TESTPLUGIN)
00075
00076
#endif // CPPUNIT_CONFIG_SELECTDLLLOADER_H