mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-21 17:55:13 -05:00
47 lines
860 B
Plaintext
47 lines
860 B
Plaintext
#ifndef _MSL_CLIMITS
|
|
#define _MSL_CLIMITS
|
|
|
|
#include <ansi_params.h>
|
|
|
|
#if !_MSL_USING_MW_C_HEADERS
|
|
#include <limits.h>
|
|
#else
|
|
|
|
#ifndef RC_INVOKED
|
|
|
|
#include <limits_api.h>
|
|
|
|
#define MB_LEN_MAX _MSL_MB_LEN_MAX
|
|
#define CHAR_BIT _MSL_CHAR_BIT
|
|
|
|
#define SCHAR_MAX _MSL_SCHAR_MAX
|
|
#define UCHAR_MAX _MSL_UCHAR_MAX
|
|
#define SCHAR_MIN _MSL_SCHAR_MIN
|
|
|
|
#define CHAR_MIN _MSL_CHAR_MIN
|
|
#define CHAR_MAX _MSL_CHAR_MAX
|
|
|
|
#define SHRT_MAX _MSL_SHRT_MAX
|
|
#define USHRT_MAX _MSL_USHRT_MAX
|
|
#define SHRT_MIN _MSL_SHRT_MIN
|
|
|
|
#define INT_MAX _MSL_INT_MAX
|
|
#define UINT_MAX _MSL_UINT_MAX
|
|
#define INT_MIN _MSL_INT_MIN
|
|
|
|
#define LONG_MAX _MSL_LONG_MAX
|
|
#define ULONG_MAX _MSL_ULONG_MAX
|
|
#define LONG_MIN _MSL_LONG_MIN
|
|
|
|
#if _MSL_LONGLONG && _MSL_C99
|
|
#define LLONG_MAX _MSL_LLONG_MAX
|
|
#define ULLONG_MAX _MSL_ULLONG_MAX
|
|
#define LLONG_MIN _MSL_LLONG_MIN
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|