#if (defined(__IBMC__) || defined(__IBMCPP__))
#pragma info( none )
#ifndef __CHKHDR__
   #pragma info( none )
#endif
#pragma info( restore )
#endif

#ifdef __cplusplus
   extern "C" {
#endif

   #ifndef  _LNK_CONV
      #ifdef _M_I386
         #define _LNK_CONV   _Optlink
      #else
         #define _LNK_CONV
      #endif
   #endif

   #ifndef _IMPORT
      #ifdef __IMPORTLIB__
         #define _IMPORT _Import
      #else
         #define _IMPORT
      #endif
   #endif

/********************************************************************/
/*  <assert.h> header file                                          */
/*                                                                  */
/*  IBM VisualAge C++ for OS/2, Version 3.00                        */
/*  (C) Copyright IBM Corp. 1991, 1995.                             */
/*  - Licensed Material - Program-Property of IBM                   */
/*  - All rights reserved                                           */
/*                                                                  */
/********************************************************************/

#ifndef NDEBUG

   #ifdef assert
      #undef assert
   #endif

   extern void _IMPORT _LNK_CONV _assert( const char *, const char *, unsigned int );

   #define assert( expr ) \
      ( ( expr ) ? ( void )0 : _assert( #expr, __FILE__, __LINE__ ) )

#else

   #ifdef assert
      #undef assert
   #endif

   #define assert( ignore ) ( ( void )0 )

#endif

#ifdef __cplusplus
   }
#endif

#if (defined(__IBMC__) || defined(__IBMCPP__))
#pragma info( none )
#ifndef __CHKHDR__
   #pragma info( restore )
#endif
#pragma info( restore )
#endif

