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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (show annotations)
Wed Nov 9 02:02:19 2005 UTC (17 years, 4 months ago) by jgs
File MIME type: text/plain
File size: 647 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

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