home *** CD-ROM | disk | FTP | other *** search
- #if (defined(__IBMC__) || defined(__IBMCPP__))
- #pragma info( none )
- #ifndef __CHKHDR__
- #pragma info( none )
- #endif
- #pragma info( restore )
- #endif
-
- #ifndef __limits_h
- #define __limits_h
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #ifndef _LNK_CONV
- #ifdef _M_I386
- #define _LNK_CONV _Optlink
- #else
- #define _LNK_CONV
- #endif
- #endif
-
- /********************************************************************/
- /* <limits.h> header file */
- /* */
- /* VisualAge for C++ for Windows, Version 3.5 */
- /* Licensed Material - Property of IBM */
- /* */
- /* 5801-ARR and Other Materials */
- /* */
- /* (c) Copyright IBM Corp 1991, 1996. All rights reserved. */
- /* */
- /********************************************************************/
-
- #define CHAR_BIT 8
-
- #define SCHAR_MIN (-128)
- #define SCHAR_MAX 127
- #define UCHAR_MAX 255
-
- #ifdef _CHAR_UNSIGNED
- #define CHAR_MIN 0
- #define CHAR_MAX UCHAR_MAX
- #else
- #define CHAR_MIN SCHAR_MIN
- #define CHAR_MAX SCHAR_MAX
- #endif
-
- #define MB_LEN_MAX 2
-
- #define SHRT_MIN (-32768)
- #define SHRT_MAX 32767
- #define USHRT_MAX 65535
-
- #define INT_MIN (-2147483647 - 1)
- #define INT_MAX 2147483647
- #define UINT_MAX 0xffffffff /* 4294967295 */
-
- #define LONG_MIN (-2147483647L - 1)
- #define LONG_MAX 2147483647
- #define ULONG_MAX 0xffffffff /* 4294967295U */
-
- #define LONGLONG_MIN 0x8000000000000000LL
- #define LONGLONG_MAX 0x7fffffffffffffffLL
- #define ULONGLONG_MAX 0xffffffffffffffffULL
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-
- #if (defined(__IBMC__) || defined(__IBMCPP__))
- #pragma info( none )
- #ifndef __CHKHDR__
- #pragma info( restore )
- #endif
- #pragma info( restore )
- #endif