mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
fix[misc]: Fix compile on 32bit platform
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I5175ed62993116a58e879d434db6b1b94747f605
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
#ifndef __RK_TYPE_H__
|
||||
#define __RK_TYPE_H__
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
typedef unsigned char RK_U8;
|
||||
typedef unsigned short RK_U16;
|
||||
typedef unsigned int RK_U32;
|
||||
@@ -71,16 +73,6 @@ typedef enum {
|
||||
#define NULL 0L
|
||||
#endif
|
||||
|
||||
#ifndef _SIZE_T
|
||||
#define _SIZE_T
|
||||
typedef unsigned long size_t;
|
||||
#endif
|
||||
|
||||
#ifndef _SSIZE_T
|
||||
#define _SSIZE_T
|
||||
typedef long ssize_t;
|
||||
#endif
|
||||
|
||||
#define RK_RET RK_S32
|
||||
#define RK_NULL 0L
|
||||
#define RK_OK 0
|
||||
|
Reference in New Issue
Block a user