GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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__ */
|
||||
Reference in New Issue
Block a user