/* * Copyright (c) XMEDIA. All rights reserved. */ /*----------------------------------------------* * external variables * *----------------------------------------------*/ /*----------------------------------------------* * external routine prototypes * *----------------------------------------------*/ /*----------------------------------------------* * internal routine prototypes * *----------------------------------------------*/ /*----------------------------------------------* * project-wide global variables * *----------------------------------------------*/ /*----------------------------------------------* * module-wide global variables * *----------------------------------------------*/ /*----------------------------------------------* * constants * *----------------------------------------------*/ /*----------------------------------------------* * macros * *----------------------------------------------*/ /*----------------------------------------------* * routines' implementations * *----------------------------------------------*/ #ifndef XMEDIA_LIMIT_H__ #define XMEDIA_LIMIT_H__ #ifdef __cplusplus #if __cplusplus extern "C"{ #endif #endif /* __cplusplus */ #define INT_MAX ((int)(~0U>>1)) #define MAXINT INT_MAX #define INT_MIN (-INT_MAX - 1) #define UINT_MAX (~0U) #define LONG_MAX ((long)(~0UL>>1)) #define LONG_MIN (-LONG_MAX - 1) #define ULONG_MAX (~0UL) #ifdef __cplusplus #if __cplusplus } #endif #endif /* __cplusplus */ #endif /* XMEDIA_LIMIT_H__ */