~ubuntu-branches/ubuntu/wily/psi/wily

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/config/CppUnitApi.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CPPUNIT_CONFIG_CPPUNITAPI
 
2
#define CPPUNIT_CONFIG_CPPUNITAPI
 
3
 
 
4
#undef CPPUNIT_API
 
5
 
 
6
#ifdef WIN32
 
7
 
 
8
// define CPPUNIT_DLL_BUILD when building CppUnit dll.
 
9
#ifdef CPPUNIT_BUILD_DLL
 
10
#define CPPUNIT_API __declspec(dllexport)
 
11
#endif
 
12
 
 
13
// define CPPUNIT_DLL when linking to CppUnit dll.
 
14
#ifdef CPPUNIT_DLL
 
15
#define CPPUNIT_API __declspec(dllimport)
 
16
#endif
 
17
 
 
18
#ifdef CPPUNIT_API
 
19
#undef CPPUNIT_NEED_DLL_DECL
 
20
#define CPPUNIT_NEED_DLL_DECL 1
 
21
#endif
 
22
 
 
23
#endif
 
24
 
 
25
 
 
26
#ifndef CPPUNIT_API
 
27
#define CPPUNIT_API
 
28
#undef CPPUNIT_NEED_DLL_DECL
 
29
#define CPPUNIT_NEED_DLL_DECL 0
 
30
#endif
 
31
 
 
32
 
 
33
#endif  // CPPUNIT_CONFIG_CPPUNITAPI