CppUnit project page FAQ CppUnit home page

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

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 // Is WIN32 platform ?
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 // Is BeOS platform ?
00054 #elif defined(__BEOS__)
00055 #define CPPUNIT_HAVE_BEOS_DLL_LOADER 1
00056 
00057 // Is Unix platform and have include <dlfcn.h>
00058 #elif defined(CPPUNIT_HAVE_DLFCN_H)
00059 #define CPPUNIT_HAVE_UNIX_DLL_LOADER 1
00060 
00061 // Otherwise, disable support for DllLoader
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

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers