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

Diff for /pegasus/src/Pegasus/Common/PegasusAssert.h between version 1.1 and 1.2

version 1.1, 2005/11/20 06:34:46 version 1.2, 2005/11/22 02:59:06
Line 35 
Line 35 
 #ifndef Pegasus_Assert_h #ifndef Pegasus_Assert_h
 #define Pegasus_Assert_h #define Pegasus_Assert_h
  
 #include <assert.h>  
   // NOTE:
   //
   // All built and tested OK with <assert.h>
   // but <cassert> is more appropriate for c++ files
   // however if this should be a problem for any c fileswithin the tree
   // it is possible to revert back to assert.h
   //     J Wunderlich 11/21/2005
   //
   // #include <assert.h>
   #include <cassert>
  
  
  
Line 57 
Line 67 
 #endif #endif
  
  
   #define PEGASUS_TEST_ASSERT(COND) if (!(COND)) abort()
   
   
 #endif  /* Pegasus_Assert_h */ #endif  /* Pegasus_Assert_h */


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2