/[escript]/trunk/esys2/tools/CppUnitTest/inc/CppUnitTest/CppUnitTestNamespace.h
ViewVC logotype

Contents of /trunk/esys2/tools/CppUnitTest/inc/CppUnitTest/CppUnitTestNamespace.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations)
Tue Oct 26 06:53:54 2004 UTC (16 years, 2 months ago) by jgs
File MIME type: text/plain
File size: 647 byte(s)
Initial revision

1
2 #ifndef CPPUNITTEST_NAMESPACE_H
3 #define CPPUNITTEST_NAMESPACE_H
4 #
5 //
6 // Assume all compilers support namespaces. Easy to redefine the defines
7 // if needed to support compilers that don't support namespaces.
8 //
9 #define COMPILER_SUPPORTS_NAMESPACES
10
11 #if defined COMPILER_SUPPORTS_NAMESPACES
12 # define BEGIN_NAMESPACE_CPPUNITTEST namespace CppUnitTest {
13 # define END_NAMESPACE_CPPUNITTEST }
14 # define USING_NAMESPACE_CPPUNITTEST using namespace CppUnitTest ;
15
16 #else
17 //
18 // Empty defines for pre-namespace compilers.
19 //
20 # define BEGIN_NAMESPACE_CPPUNITTEST
21 # define END_NAMESPACE_CPPUNITTEST
22 # define USING_NAMESPACE_CPPUNITTEST
23
24 # endif
25
26 #endif
27

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26