(file) Return to Config.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

 1 mike  1.8 //%/////////////////////////////////////////////////////////////////////////////
 2 mike  1.1 //
 3           // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM
 4           //
 5           // Permission is hereby granted, free of charge, to any person obtaining a
 6           // copy of this software and associated documentation files (the "Software"),
 7           // to deal in the Software without restriction, including without limitation
 8           // the rights to use, copy, modify, merge, publish, distribute, sublicense,
 9           // and/or sell copies of the Software, and to permit persons to whom the
10           // Software is furnished to do so, subject to the following conditions:
11           //
12           // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13           // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14           // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15           // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16           // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17           // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18           // DEALINGS IN THE SOFTWARE.
19           //
20 mike  1.8 //==============================================================================
21 mike  1.1 //
22 mike  1.8 // Author: Mike Brasher (mbrasher@bmc.com)
23 mike  1.1 //
24 mike  1.8 // Modified By:
25 mike  1.7 //
26 mike  1.8 //%/////////////////////////////////////////////////////////////////////////////
27 mike  1.1 
28           ////////////////////////////////////////////////////////////////////////////////
29           //
30           // Config.h
31           //
32           ////////////////////////////////////////////////////////////////////////////////
33           
34           #ifndef Pegasus_Config_h
35           #define Pegasus_Config_h
36           
37 mike  1.6 #include <iostream>
38 mike  1.3 
39 mike  1.6 #if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC)
40           # include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h>
41           #elif defined (PEGASUS_PLATFORM_LINUX_IX86_GNU)
42           # include <Pegasus/Common/Platform_LINUX_IX86_GNU.h>
43           #else
44           # error "<Pegasus/Common/Config.h>: Unsupported Platform"
45           #endif
46 mike  1.4 
47           #define PEGASUS_TRACE \
48               std::cout << __FILE__ << '(' << __LINE__ << ')' << std::endl
49 mike  1.7 
50 mike  1.10 #define PEGASUS_OUT(X) std::cout << #X << "=[" << X << "]" << std::endl
51 mike  1.1  
52            #endif  /* Pegasus_Config_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2