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

Diff for /pegasus/src/Pegasus/Common/Config.h between version 1.5 and 1.12

version 1.5, 2001/04/13 21:06:36 version 1.12, 2001/05/21 20:01:57
Line 1 
Line 1 
 //BEGIN_LICENSE  //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM
 // //
Line 17 
Line 17 
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
 // //
 //END_LICENSE  //==============================================================================
 //BEGIN_HISTORY  
 // //
 // Author:  // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // $Log$  // Modified By:
 // Revision 1.5  2001/04/13 21:06:36  mike  
 // new  
 // //
 // Revision 1.4  2001/04/13 19:57:17  mike  //%/////////////////////////////////////////////////////////////////////////////
 // Fixed several memory leaks.  
 // Fixed build crash problem (caused by screwed up NT flags).  
 //  
 // Revision 1.3  2001/04/13 18:20:51  mike  
 // Ported so Solaris.  
 // Fixed memory leaks.  
 //  
 // Revision 1.2  2001/04/11 00:39:18  mike  
 // More porting  
 //  
 // Revision 1.1.1.1  2001/01/14 19:50:39  mike  
 // Pegasus import  
 //  
 //  
 //END_HISTORY  
   
 ////////////////////////////////////////////////////////////////////////////////  
 //  
 // Config.h  
 //  
 ////////////////////////////////////////////////////////////////////////////////  
  
 #ifndef Pegasus_Config_h #ifndef Pegasus_Config_h
 #define Pegasus_Config_h #define Pegasus_Config_h
  
 #include <Pegasus/Common/ConfigPlatform.h>  
   
 #include <iostream> #include <iostream>
  
   #if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC)
   # include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_IX86_GNU)
   # include <Pegasus/Common/Platform_LINUX_IX86_GNU.h>
   #elif defined (PEGASUS_PLATFORM_AIX_RS_IBMCXX)
   # include <Pegasus/Common/Platform_AIX_RS_IBMCXX.h>
   #else
   # error "<Pegasus/Common/Config.h>: Unsupported Platform"
   #endif
   
   #ifdef PEGASUS_HAVE_NAMESPACES
   # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus {
   # define PEGASUS_NAMESPACE_END }
   # define PEGASUS_STD(X) std::X
   # define PEGASUS_USING_STD using namespace std
   # define PEGASUS_USING_PEGASUS using namespace Pegasus
   #else
   # define PEGASUS_NAMESPACE_BEGIN /* empty */
   # define PEGASUS_NAMESPACE_END /* empty */
   # define PEGASUS_STD(X) X
   # define PEGASUS_USING_STD
   # define PEGASUS_USING_PEGASUS
   #endif
   
   #ifdef PEGASUS_HAVE_EXPLICIT
   # define PEGASUS_EXPLICIT explicit
   #else
   # define PEGASUS_EXPLICIT /* empty */
   #endif
   
   #ifdef PEGASUS_HAVE_MUTABLE
   # define PEGASUS_MUTABLE mutable
   #else
   # define PEGASUS_MUTABLE /* empty */
   #endif
   
   #ifndef PEGASUS_HAVE_FOR_SCOPE
   # define for if (0) ; else for
   #endif
   
   #ifdef PEGASUS_HAVE_TEMPLATE_SPECIALIZATION
   # define PEGASUS_TEMPLATE_SPECIALIZATION template <>
   #else
   # define PEGASUS_TEMPLATE_SPECIALIZATION
   #endif
   
   PEGASUS_NAMESPACE_BEGIN
   
   #ifdef PEGASUS_HAVE_BOOLEAN
     typedef bool Boolean;
   #else
   # include <Pegasus/Common/Boolean.h>
   #endif
   
   typedef unsigned char Uint8;
   typedef char Sint8;
   typedef unsigned short Uint16;
   typedef short Sint16;
   typedef unsigned int Uint32;
   typedef int Sint32;
   typedef float Real32;
   typedef double Real64;
   typedef PEGASUS_UINT64 Uint64;
   typedef PEGASUS_SINT64 Sint64;
   
   #define PEGASUS_NOT_FOUND Uint32(-1)
   
   PEGASUS_NAMESPACE_END
   
 #define PEGASUS_TRACE \ #define PEGASUS_TRACE \
     std::cout << __FILE__ << '(' << __LINE__ << ')' << std::endl      PEGASUS_STD(cout) << __FILE__ << '(' << __LINE__ << ')' << PEGASUS_STD(endl)
   
   #define PEGASUS_OUT(X) \
       PEGASUS_STD(cout) << #X << "=[" << X << "]" << PEGASUS_STD(endl)
  
 #endif  /* Pegasus_Config_h */ #endif  /* Pegasus_Config_h */


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2